Hello.
I was using the cod.tracker.gg API to track players in warzone by using twitch night bot.
This always worked fine, but for 1-2 weeks already its not working anymore. This is the reply I always get:
Nightbot: Unexpected identifier
when you try using a urlfetch statement without eval, its also returning “remote server returned code 403”, which means, that the api isnt permitting access to use it. Do u know, if this gets fixed or what I can do, that the commands work again?
Example Command:
$(eval u=$(urlfetch json https://api.tracker.gg/api/v2/warzone/standard/profile/atvi/$(query));s=u.data.segments[1].stats;p=u.data.platformInfo.platformUserHandle; w=s.weeklyMatchesPlayed.value ; r=s.kdRatio.value;t=s.weeklyKdRatio.displayValue;h=s.weeklyHeadshotPct.value;`The stats of ${p} are >> Overall K/D: ${r} | Weekly K/D: ${t} (Bei ${w} Runden) | Headshot: ${h} % | Profile Link >> https://cod.tracker.gg/warzone/profile/atvi/$(query)/detailed`)