I recognize that code and those variables. ![]()
Also, you want to get:
“https://api.twitch.tv/kraken/streams?game=Counter-Strike:%20Global%20Offensive&limit=1”
So modify this line
$backupArray = json_decode(@file_get_contents(‘https://api.twitch.tv/kraken/streams?game=Counter-Strike:%20Global%20Offensive&limit=1’), true);
you don’t need the " . $callAPI" bit because that is only if you were restricting it to a list of streamers… if you just want the most popular for a game overall, the change I gave you would work.