twitch-observer Documentation

Header Image

Turn Twitch chatter into Python events.

twitchobserver makes interacting with Twitch chat super easy. It is built and tuned for realtime applications. You can make chatbots chat. You can build Twitch Plays video games.

Features

  • Pure Python: No extra dependencies. Just plain and simple Python.
  • Small API: With a few classes and a handful of methods, you can learn it over a coffee break.
  • Event Based: Makes writing apps easy and straightforward.
  • Context Manager: Further simplifies working with observers.

TwitchChatObserver

TwitchChatEvent

BadTwitchChatEvent

TwitchChatEventType

TwitchChatColor

Aliases

There exist the following aliases:

class twitchobserver.Observer(nickname, password)

Class for watching a Twitch channel. Creates events for various chat messages.

Parameters:
  • nickname – The user nickname to connect to the channel as
  • password – The OAuth token to authenticate with