Hi @member
It's for tracker.gg COD they don't have an API doc around. I've worked out how to do it for myself i.e when I do "pstats it defaults to my Twitch name as that's the same as my ActID.
The full command is:
$(eval s=$(urlfetch json https://api.tracker.gg/api/v2/warzone/standard/profile/atvi/**username#00000**).data.segments[0].stats; r=s.kdRatio.value; k=s.kills.value; d=s.deaths.value; w=s.wins.value; Wins: ${w} | Kills: ${k} | Deaths: ${d} | Kills/Deaths Ratio: ${r})
The part in bold [username#00000] i'm trying to replace with what the user enters after the command. So if I was to do !pstats demo#99999 it'd replace the username#0000 with the demo#99999 etc and if they only enter pstats it returns a message like Incorrect format. missing user#ID or something.
Cheers