I made a GET request to https://api.twitch.tv/kraken/channels/scjosh to try and grab the followers/views count but just for my account I couldn’t get these details. For instance, if I put another channel name it would show up as well as a bunch of other information that a request for my channel wouldn’t have. I’ve included a screenshot of what’s returned for my channel (scjosh) as well as a screenshot of what should be returned. Is this just an API bug? Thanks.
GET https://api.twitch.tv/kraken/channels/scjosh
GET https://api.twitch.tv/kraken/channels/summit1g
There is a bug that’s been going around for a long time causing the channel object to get mixed up with the user object sometimes, likely caused by a caching error.
Yep, this seems to be an increasingly common/severe issue with the API. I often get JSON decoding exceptions on the /streams/:target endpoint as well, possibly just returning e. The API is something Twitch really needs to improve though as I’ve seen, it’s not very high on priority at all.