`headers = {
‘Accept’: ‘application/vnd.twitchtv.v5+json’,
‘Authorization’: ‘OAuth TOKEN’
}
data = requests.get(‘https://api.twitch.tv/kraken’, headers=headers)`
DATA return: {“error”:“Not Found”,“status”:404,“message”:“This API does not exist”}
`headers = {
‘Accept’: ‘application/vnd.twitchtv.v5+json’,
‘Authorization’: ‘OAuth TOKEN’
}
data = requests.get(‘https://api.twitch.tv/kraken’, headers=headers)`
DATA return: {“error”:“Not Found”,“status”:404,“message”:“This API does not exist”}
Working fine here.
You Just calling the root of kraken?
yes
Working fine here on the command line
I also tested from France and London and Canada. All working.
So not sure whats wrong yourside.
You don’t need the \
if it’s all on one line.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.