Hi everyone!
No matter what stream I’m trying to reach, I always get a null answer… I´ve tried various channels that are supposed to stream 24/7 but the answer is always the same: null.
So I’m first calling at the channel to get the id and then I use that id to get the stream status.
Here are the request I’m making:
The API currently defaults to v3, which uses usernames instead a channel id, so when you’re calling the streams endpoint with an id the API is looking for a channel where the username matches that id, which it doesn’t and so returns null streams. If you add api_version=5 to the querystring, or Accept: application/vnd.twitchtv.v5+json as a header in the request it should give you the response you are looking for.