I have an app that fetches data, minute to minute, from Twitch, YouTube and Facebook streams and it calculates stream viewers average of each stream and draws minute a minute graphics.
Many times, in Twitch, when you use “Get Streams” endpoint, “viewer_count” response field doesn’t change during several minutes (due to caching?). However, when you’re watching a stream you can see how this data is refreshed each 20-25 seconds (so it doesn’t seem caching works in the same way here ).
To improve accuracy, does it exist alternative methods?. Does PubSub have any topic to fetch real time “viewer_count”?
In the image below, it can see an example of how Twitch graphics contains more straight lines due to data takes more time in changing:
Sorry for my english, it’s difficult for me