Hey I’m trying to look for a GET url that returns the top streams for a specific game. I’ve been using https://api.twitch.tv/kraken/streams?game=Counter%20Strike:%20Global%20Offensive but it doesn’t seem to give me the TOP streams. Any advice?
Counter-Strike is spelled with a hyphen, not space. I’d recommend looking up by game ID instead using the new API: https://dev.twitch.tv/docs/api/reference#get-streams
Thanks for replying 3ventic, the only problem I see with doing it this way is that I don’t get channel names back, only id’s. The problem with that is I cant use channel Id’s to update the twitch embed. Unless you know a way to do that?
You can get the names in bulk by using https://dev.twitch.tv/docs/api/reference#get-users
Awesome Geardrops! Thanks for the help.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.