-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Condition if stream is on or off #675
Comments
You'll need https://dev.twitch.tv/docs/v5/reference/streams/. Further this belongs to https://discuss.dev.twitch.tv and not an inactive bug tracker for obsolete API documentation. |
Thank you very much for answer me freaktechnik, where I should type: curl -H 'Accept: application/vnd.twitchtv.v5+json' What kind of language is this? |
curl is a command line tool. (https://curl.haxx.se/) This means you'd put the following into your console: The top part is the command. Broken down this gives you: Hope this helps, |
Thanks for the answer scagood, so I need to install latest version from curl in my computer? |
No, that's just how the API documentation shows examples for making requests to the API. You can use whatever you want to make requests. |
Oh I understand, thanks freaktechnik 🍡 |
@freaktechnik to determine if a channel is online i proof that ".stream.viewers" is not NULL and in my case if ".stream.stream_type" is "live" so i skip out the Vodcasts. Hopes that helps you. Update: v3 version if a stream is offline |
I was reading the API documentation from twitch but didn't find what I needed, I just need a condition that give me true or false if streamer is on or off, someone can help me?
The text was updated successfully, but these errors were encountered: