Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
if you believe the documentation and the correctness of writing the script, then everything should work
import requests
headers = {'Authorization': 'Bearer 5egdrak4zcq1zx3eo6ew5o1chyxxo4'}
r = requests.get('https://api.twitch.tv/helix/analytics/extensions?first=5', headers=headers, stream=True)
with open('test.html', 'w') as output_file:
output_file.write(r.text)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question