Streams API is slow updating the game

I am working on a bot for one streamer and realized that the APIs for active Streams (" https://api.twitch.tv/kraken/streams/" and “https://api.twitch.tv/helix/streams”) are very slow to update if the game changes and also switches back for one second or so.
The channel API on KRAKEN v5 (“https://api.twitch.tv/kraken/channels/”) updates the game immediately.
Unfortunately there is no channel API in HELIX yet.

Are there any plans to implement the channel API into HELIX or fix the slow Streams API?

Use streams endpoint for live streams, until Helix has offline data endpoint.

It’s not slow. It’s caching.

Any game/title change will take 3/5 minutes to show in the API (both Kraken/helix have this). So it’s not slow, it’s caching. And you will sometimes hit a server in the pool thats not got the update yet.

http://shouldiblamecaching.com/

You may want to look at Webhooks instead

https://dev.twitch.tv/docs/api/webhooks-guide/

1 Like

So why is the channel endpoint totally acurate and returns changes immediately after I made them? Are they working differently?

shrug

1 Like

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