How can I get stream title and viewer count with api?

I searched all day but it’s all not working
and i can only get the message
“No client id specified” or “Must provide a valid Client-ID or OAuth token”
how can I get it?

The docs page https://dev.twitch.tv/docs/v5#getting-a-client-id will explain how to obtain a client id for your app.

You can then use that client id with the streams endpoint https://dev.twitch.tv/docs/v5/reference/streams#get-stream-by-user which will return among other things the viewer count and title (the title being the status property of the channel object).

view docs page. and test POSTMAN. browser app. it can easy test call json with header.

call json. get json , and call value with key.

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