Skip to content

SlackingVeteran/twitch-pubsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Setup topics, auth and install requirement

  • Open webSocketClient.py and edit value for self.topics and self.auth_token to include your channel id for channel you want to listen to and auth token for the channel
  • Install the requirement with pip3 install websockets

Run the pubsub client

python3 main.py

Note

  • Auth token for channel must have required scopes for topic you want to listen to.
  • This client doesnt handle all the connection management, for ex. it doen't reconnect when twitch send RECONNECT signal or when connection between this client and twitch has failed.
  • Please refer to Twitch's official documents to see how connections should be handled https://dev.twitch.tv/docs/pubsub#connection-management

About

Twitch PubSub python client for channel redemption

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages