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