Updating API endpoints to use User ID's?

Hello,

So I noticed the new v5 api update and was wondering whether endpoints like ‘http://tmi.twitch.tv/group/user/user/chatters’ will be updated to correspond the user id’s. Because currently it seems you would need to get the chatter list and then use the api to get userid for each chatter. So for example if I were to do something with channel as big as Lirik I would have to call the API additional 20k+ times to get the user id’s.

1 Like

I doubt you’ll get a straight answer since TMI is not an officially supported API, that we are supposed to be consuming :stuck_out_tongue:

If you are tracking whom is actually speaking, the UserID is in the Tags data for each chat line…

Yeah, I see that userid is included in the tags, but if you want to see all who are currently in the chat you use that API. Also you can call https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md#get-streamschannel to get the viewer count but not the chatters.

Also I am pretty sure every chatbot that has any kind of point system that gives you point at random time intervals uses the TMI api as well.

That TMI endpoint is unsupported as @BarryCarlyon stated. That said, we aren’t updating that API to use IDs instead of usernames. Nothing to announce on a supported version of the API.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.