Skip to content

Twitcheroo, a Python client library for the Twitch API

Notifications You must be signed in to change notification settings

Gaborade/twitcheroo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitcheroo, a Python client library for using the Twitch API.

FEATURES

  • Authentication
    • OAuth Client Credentials Flow
    • OAuth Authorization Code Grant Flow
  • Timeouts
  • Retries and Backoffs
  • Support for all Twitch API endpoints
  • Pagination support
  • Support for PubSub

HOW-TO

from twitcheroo import ClientCredentials, Twitch   

CLIENT_ID = "turtles"
CLIENT_SECRET = "allthewaydown"
scope = ["analytics:read:games"]
auth = ClientCredentials(CLIENT_ID, CLIENT_SECRET, scope=scope)
twitch_session = Twitch(auth, max_retries=4, timeout=10.0)
print(twitch_session.get_extension_transactions("1234"))

For more samples, refer to examples directory(available in due course)

About

Twitcheroo, a Python client library for the Twitch API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages