Is there any possible way to use the Twitch.tv API with Python 3? It looks to be prepared for another language but I've been spending a lot of time learning Python.
Asked
Active
Viewed 2,202 times
2 Answers
1
Yeah you can import requests which is a great module to deal with api's. Here is more documentation on it.
import requests
r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
r.status_code
r.headers['content-type']
r.encoding
r.json()

kpo1
- 63
- 2
- 13