[SOLVED] Difference Between Stream views, Video (Recording) views, and Video (Recorded) views

I’m trying to get the number of views of a stream and even after it has been converted to video. I found this post and tried the approach suggested. So here are the steps that I implemented:

  1. Get the top streams of a game using https://api.twitch.tv/kraken/streams?client_id=#{client_id}&limit=#{limit}&offset=#{offset}&game=#{game_name}
  2. Select a channel from the result of the previous step and retrieve its videos using https://api.twitch.tv/kraken/channels/#{channel_id}/videos?client_id=#{client_id}&broadcast_type=archive
  3. From the returned results, I check the one that has a status of recording and save it for tracking.
  4. Every hour, I track the saved video using https://api.twitch.tv/kraken/videos/#{video_id}?client_id=#{client_id} I also save the status to track when a stream has ended

So for each step, I can already see the number of views using the views field of the JSON file but there’s one thing I’m not sure of and that is how the views are actually measured for each. So my question is what the number of views represent for:

  • Stream
  • Video (Recording)
  • Video (Recorded)

Are the views measured the same way for all three items above? Are they accumulated from the time that the record has started or is it the number of current views during the time that API function was called? Thanks in advance.

For streams it’s current concurrent viewers, for video (both recording and recorded) it should be total views the video has accumulated in all time.

1 Like

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