Call Of Duty API Command is not Working

I’m trying to put to work a command for retrieve my real time stats from Call Of Duty Warzone but I’m getting all the time “Cannot read property ‘mode’ of undefined” when it seems fine… suggestions?

$(eval a=JSON.parse(decodeURIComponent($(querystring $(urlfetch json https://my.callofduty.com/api/papi-client/stats/cod/v1/title/mw/platform/psn/gamer/Samucar2anti/profile/type/warzone)))).data.lifetime.mode.br_all.properties;Total Kills: ${a.kills} | )

It seems is happening something with the “data.lifetime”.

Hiya, if you visit the url you posted in a browser, you’ll see a “Not permitted” error, this is not a public available API.

You might want to have a look at: Warzone custom API command - #9 by HotteTove

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.