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_access_token
# To get client_id and client_secret -> https://youtu.be/JK06TumS6ho
client_id = "<CLIENT ID>"
client_secret = "<CLIENT SECRET>"
acces_token = get_access_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)
Release files for twitch-info 2.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| twitch-info-2.4.5.tar.gz | 3.4 kB | Details |
Release files / twitch-info-2.4.5.tar.gz
| Download URL | twitch-info-2.4.5.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b24dfd3ab962aab3c8f99ec5d6b5d315c3b137b1c9ea05fecfc3f200fceeeb6
|
|
BLAKE2b-256 checksum How to use checksums |
56d1fceb63043310fe20764f11a627c03218b44031ae52b8c79581403b6cabe7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|