![]() 'cursor':'eyJiIjpudWxsLCJhIjp7Ik9mZnNldCI6MX19' 'title':"Wakz duoQ w/ Tioo - GM 400LP - On récupère le chall après les -250LP d'inactivité !", Response = request.get(endpoint, params=params, headers=headers) ![]() # It is now time to make the actual request # Disclaimer, I don't even know who this is, but he was the first one on Twich to have a live stream so I could have nice examples ![]() # The previously set endpoint needs some parameter, here, the Twitcher we want to follow # In order to authenticate we need to pass our api key through header # This is one of the route where Twich expose data, # requests is the go to package in python to make http request The following snippet just consumes the Twitch API with the correct parameters and prints the response. With your API key in hand, we can now query the Twitch API to have the information we want, so let's begin to code. You should now see, at the bottom of your screen, your client-id.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |