i dont want to bother more but its giving me a respons : {“data”:[],“pagination”:{}}
and is there some way to just get the if hes streaming some extra code or something
the code now is:
import requests
API_ENDPOINT = “https://api.twitch.tv/helix/streams?user_login=jonasek369”
Client_ID = “client_id”
botToken = “token”
head = {
‘client-id’: Client_ID,
‘authorization’: 'Bearer ’ + botToken
}
r = requests.get(url = API_ENDPOINT, headers = head, )
print(r.text)