actually i use this:
curl -X GET 'https://api.twitch.tv/helix/streams?user_login=my_twitch_name' \
-H 'Authorization: Bearer OAUTH_TOKEN' \
-H 'Client-Id: MY_CLIENT_ID'
but every call i make he return me a JSON with 15 or more things, and this is okay, but i need to check only if i’m in live, and IF i’m in live, i will take this JSON for title, name of game and something more.
actually i tried with
curl -X GET 'https://api.twitch.tv/helix/streams/key'
but he give me error 400… and if i add the broadcaster_id he give me error 401 ![]()
any idea about it? i can’t find nothing…