{"repo":"Teekeks/pyTwitchAPI","free":true,"listed":false,"github":"https://github.com/Teekeks/pyTwitchAPI","clone":"git clone https://github.com/Teekeks/pyTwitchAPI.git","description":"A Python 3.7 compatible implementation of the Twitch API, EventSub and Chat","language":"Python","stars":293,"topics":["twitchapi","twitch-api","twitch-tv","webhook","userauthenticator","helix-api","twitch-helix-webhooks","twitch-helix","twitch","eventsub"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Python Twitch API This is a full implementation of the Twitch Helix API, EventSub and Chat in python 3.7+. Installation Install using pip: Documentation and Support A full API documentation can be found on readthedocs.org. For support please join the Twitch API discord server Usage Basic API calls Setting up an Instance of the Twitch API and get your User ID: Authentication The Twitch API knows 2 different authentications. App and User Authentication. Which one you need (or if one at all) depends on what calls you want to use. It's always good to get at least App authentication even for calls where you don't need it since the rate limits are way better for authenticated calls. Please read the docs for more details and examples on how to set and use Authentication! App Authentication App authentication is super simple, just do the following: User Authentication To get a user auth token, the user has to explicitly click \"Authorize\" on the twitch website. You can use various online services to generate a token or use my build in Authenticator. For my Authenticator you have to add the following URL as a \"OAuth Redirect URL\": You can set that here in your twitch dev dashboard. You can reuse this token and use the refresh token to renew it: AuthToken refresh callback Optionally you can set a callback for both user access token refresh and app access token refresh. EventSub EventSub lets you listen for events that happen on Twitch. The EventSub client runs in its own thread, calling","default_branch":null,"files":null,"tree":[],"storefront":"/r/Teekeks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Teekeks/pyTwitchAPI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}