Stream duration

Where can I get information about the duration of the stream?

You can use the streams endpoint https://dev.twitch.tv/docs/api/reference/#get-streams

The stream object contains a started_at field which is the timestamp of when the stream started, you can calculate the duration from that.

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