Hello fellow Twitch devs!
I have only been recently accessing the Twitch API and am currently having a blast. I am currently using a Python program that makes a request to get the /streams/summary to track the increase/decrease of channels and viewers. I am running an infinite loop but I am calling the sleep function to wait every 2 minutes before making another request. After about 3-4 calls I get this error message.
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
So I guess I have two questions:
- Is this related to my program requesting too often?
- If yes what should my sleep time be?
Thank you for your help!