Call Of Duty API Command is not Working

Asked Feb 4, 2021·1 reply·Last activity 5 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

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".

1 reply