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.
Check “link: self” for your own channel screenshot - you used wrong link.
How would the link I’m using be incorrect? In the API spec /channels/:channel should be returning the same data. Anyway, looks like the API updated as the data for my channel is now correctly shown.
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.
Yeah, this bug has now spread to the /channels/:channel endpoint as well. Not sure if it was there before? At least not to my knowledge.
This bug makes working with the API extremely difficult.
Please do something about these issues, Twitch. I’ve never seen a more frustrating set of API’s from such an established tech company.
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.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.