Require assistance GetStreams

Im trying to get one streams live data.

Would the url be https://api.twitch.tv/helix/streams?user_id=45452536 ?

Yes.

Yes. I figured it out.

  1. It takes 2minutes for api to see you are streaming.
  2. It doesn’t return stream:nulll like v5 instead just null.

It returns an array of the live streams matching the criteria. Since you’re asking for a single user ID, it’ll return an array of length 0 or 1 based on the user being live or not.

The delay is due to caching and varies.

1 Like

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