-
-
Notifications
You must be signed in to change notification settings - Fork 37
Relationships
Petter Kraabøl edited this page Oct 12, 2018
·
2 revisions
Unreachable objects are marked with x.
# 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)
Check out Twitch-Chat-Downloader