Python Twitch API¶
This is a full implementation of the Twitch Helix API, its Webhook, PubSub and EventSub in python 3.7+.
On Github: https://github.com/Teekeks/pyTwitchAPI
On PyPi: https://pypi.org/project/twitchAPI/
Visit the Changelog to see what has changed.
Support¶
For Support please join the Twitch API Discord server.
Usage¶
For more detailed usage examples, see the links below
from twitchAPI.twitch import Twitch
from pprint import pprint
twitch = Twitch('my_app_key', 'my_app_secret')
pprint(twitch.get_users(logins=['your_twitch_username']))
See twitchAPI.twitch for more details on how to set Authentication.
Logging¶
This module uses the logging module for creating Logs. Valid loggers are:
twitchAPI.twitch
twitchAPI.eventsub
twitchAPI.pubsub
twitchAPI.oauth
twitchAPI.webhook
Indices and tables¶
The Twitch API client |
|
Full Implementation of the Twitch EventSub |
|
PubSub client |
|
Full Implementation of the Twitch Webhook |
|
User OAuth Authenticator and helper functions |
|
Type Definitions |
|
Helper functions |