Equivalent Helix Endpoint For Channels?


#1

I use to use the endpoint https://api.twitch.tv/kraken/channels to get channel info, but now it seems the only way to get relevant info is with https://api.twitch.tv/helix/users, and that doesn’t work for me due it to it requiring an OAuth token. Is there something I’m missing?


#2

As per the docs, you need to supply either an OAuth token, an id param, or a login param.


#3

https://dev.twitch.tv/docs/api/reference/#get-users

The scope/oAuth is optional!

Specify a ID or a login and it will return.

if you specify the oAuth it’ll return the user for that oAuth token.

So a call to

https://api.twitch.tv/helix/users

Requires a token

But a call to

https://api.twitch.tv/helix/users?login=barrycarlyon

Does not


#4

Awesome, thank you! I was confused by the docs


closed #5

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