/python-twitch-client

Python wrapper for Twitch API

Primary LanguagePythonMIT LicenseMIT

python-twitch-client

Latest docs Latest version Latest build Coverage

python-twitch-client is an easy to use Python library for accessing the Twitch API

You can find more information in the documentation or for support, you can join the Discord Server.

Note

python-twitch-client currently supports Twitch API v5.

If you find a missing endpoint or a bug please raise an issue or contribute and open a pull request.

Basic Usage

from twitch import TwitchClient

client = TwitchClient(client_id='<my client id>')
channel = client.channels.get_by_id(44322889)

print(channel.id)
print(channel.name)
print(channel.display_name)