Get total watch time

Hi all,
Do you know a way of calculating the total watch time of a stream ?

as in the time a viewer has watched?

There is no API that presents who is watching a stream.

Yes I know that there is no API for that.
But I saw on twitchtracker.com and sullygnome.com for example that there is : Hours watched
How do you think they calculate ?

A lot of stats sites use the Get Streams endpoint which will return the current viewer count, and make a request roughly every 5 to 15 minutes. From that you can multiply the viewer count by the interval and keep a running total to get a very rough estimate of watch time.

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