I have been using the Twitch API to query for all the channels that are currently live for a particular game (Android: Netrunner, in my case) using the following path: https://api.twitch.tv/kraken/streams?game=Android:%20Netrunner. I have been passing along my Client-ID, and have not been querying more than once per minute.
Within the last few days (first recorded instance on June 21st at 11:44pm EST), this endpoint would return a list of top live streams for all games, rather than just streams for the game that I was querying for. This behavior seems to be intermittent, and appears to fix itself on its own, but according to my logs it seems to be happening once every several hours. I haven’t been able to nail down a definite interval, but it’s definitely more than once per day.
This exact code has been working unmodified without issue for several months, but I haven’t seen any change to the Twitch API that might have precipitated this change in behavior. I tried reducing my query rate to every 2 minutes, and every 5 minutes, but the problem continued.
Thanks for the report! Do you know if it is more frequent with games with spaces in the name? The reported cases have spaces in the names except for one. Interested if there is a pattern here.
It’s still happening here, spaces don’t seem to make a difference. It has happened with “Warsow” and “Xonotic” as well. It also just seems to happen at completely random times.
Tweeted to @TwitchSupport last week and @TwitchDev as well, didn’t get a response from either.
The last time the API started bugging out, I just msged a friend of mine who works as a developer at Twitch and he got it sorted out in a few hours… unfortunately, he no longer works there.
@TwitchSupport likely wouldn’t respond to an API bug report. @TwitchDev is the right place, and I run that account. I saw your tweet after I saw this post and figured we would just keep it here.