I’m currently writing a chat bot (yes, another, sorry about that), but I’m experiencing a strange behavior while tracking users that come in and go out the chan (via IRC). Therefore, I decided to get a “clear list” by requesting directly the API for users.
I tried to get the list through https://api.twitch.tv/kraken/streams/STREAM
But… no list is provided. I looked around, and found this :
After using the TMI request (I don’t really know how to call it, but the second URL I provided in my first message), I’ve a got a few feedbacks on it :
First, it’s pretty slow to respond. I make a request on it once every 30 secondes (approx.), but it answers in like 1 or 2 seconds (which is slow in our world).
Second, it’s pretty unaccurate : I mean, whenever a user comes in, speak in the chat, and do stuff with my bot, he’s consider as “not connected”. There is an interval (like 30 seconds ?) before twitch give me this user in the list of connected users.
So my questions are : is this normal ? Should I manage my own presence list to improve the twitch’s behavior ? Is there an update in the roadmap ?
Since a few days this URL is not working correctly.
For multiple channels the chatters count is often 0. I even get an HTTP 504 Error very often. Is there any problem with this endpoint? Or is it planned to make an official and documented one?