Python Twitch API

This is a full implementation of the Twitch Helix API, its Webhook and PubSub 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.

Installation

Install using pip:

`pip install twitchAPI`

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')
# lets create a simple app authentication:
twitch.authenticate_app([])
pprint(twitch.get_users(logins=['your_twitch_username']))

Logging

This module uses the logging module for creating Logs. Valid loggers are:

  • twitchAPI.twitch
  • twitchAPI.pubsub
  • twitchAPI.oauth
  • twitchAPI.webhook

Indices and tables

twitchAPI.twitch The Twitch API client
twitchAPI.webhook Full Implementation of the Twitch Webhook
twitchAPI.pubsub PubSub client
twitchAPI.oauth User OAuth Authenticator and helper functions
twitchAPI.types Type Definitions
twitchAPI.helper Helper functions