title: How to get Twitch watchtime (like streamelements)
body: <p>I am currently on developing a little twitch.tv chatbot. I know, there are like a thousand of them but I would like to create my own, just to have a project - so this is not the point.</p>
  <p>I was wondering, how the watchtime of a user could be calculated. Just as streamelements.com does it with their <code>!watchtime</code> chat command. I did not find any API endpoint to get the users, which are currently viewing the stream. The only thing found is the current viewcount in <a href="https://dev.twitch.tv/docs/api/reference#get-streams" rel="nofollow noreferrer">https://dev.twitch.tv/docs/api/reference#get-streams</a> but there is no way to link to a specific user.</p>
  <p>Anyone has any idea?</p>