Skip to content

Relationships

Petter Kraabøl edited this page Oct 12, 2018 · 2 revisions

diagram

Unreachable objects are marked with x.

Examples

# Twitch API

videos = helix.user('zarlach').videos()

video, comments = helix.user('zarlach').videos().comments()

comments = helix.video(112233).comments()
# Twitch Chat

def handle_message(message: twitch.chat.Message):
    user: helix.User = message.user()
    print(user.display_name)

twitch.Chat('#reckful', nickname='zarlach', oauth='oauth:xxxxxxx', helix=helix).subscribe(handle_message)
Clone this wiki locally