Get information about a twitch channels and streams
Project description
Twitch Informations
Get informations about a streamer from twitch.tv.
Install the package
pip install twitch-info
Exemple
from twitch_info import get_user_id, get_stream, get_acces_token
# To get client_id and client_secret -> https://youtu.be/JK06TumS6ho
client_id = "<CLIENT ID>"
client_secret = "<CLIENT SECRET>"
acces_token = get_acces_token(client_id=client_id, client_secret=client_secret)
user_id = get_user_id(user_name="<CHANNEL_NAME>", client_id=client_id, acces_token=acces_token)
stream = get_stream(user_id=user_id, client_id=client_id, acces_token=acces_token)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
twitch-info-2.4.2.tar.gz
(3.1 kB
view hashes)