Skip to main content

Asynchronous Twitch API interface

Project description

TwitchAIO

Asynchronous Twitch interface for implementing custom chatbots

Features

  • Send/receive Twitch chat messages
  • Command system for chat interaction
  • Interface with the Twitch API to allow automating parts of the stream
  • Websocket based events with the Twitch PubSub system

Getting started

  1. Install TwitchAIO with pip install twitchaio
  2. Register your application on https://dev.twitch.tv/console
  3. Fill in or create client.json in your project directory with the application data:
{ 
    "Client-ID": <your client id>,
    "Client-Secret": <your client secret>,
    "RedirectURI": <your redirect uri>
}
  1. You're ready to use TwitchAIO

Usage

Check the examples directory on how to use TwitchAIO

Future updates

The following items are being worked on and will be released in the future

  • Interface with emote extensions: BTTV, FFZ and SevenTV
  • Interface with stream tools: StreamElements and StreamLabs

The following items are being considered and may or may not end up getting implemented

  • Ability to trigger commands using regex
  • Setting up a webpage that shows the list of commands

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TwitchAIO-0.5.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TwitchAIO-0.5-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file TwitchAIO-0.5.tar.gz.

File metadata

  • Download URL: TwitchAIO-0.5.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for TwitchAIO-0.5.tar.gz
Algorithm Hash digest
SHA256 d3140982814432a7ad718ce9dab9f1f465cc546c2859dc2ca25f800145020ce9
MD5 0e1d2ff1544a9a951203e5aa8d9a4605
BLAKE2b-256 d6724855d842943feeac27881406eb6cc495105aca3d7495f3d4bdbfef52958e

See more details on using hashes here.

File details

Details for the file TwitchAIO-0.5-py3-none-any.whl.

File metadata

  • Download URL: TwitchAIO-0.5-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for TwitchAIO-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 560d4f830f7e4695b1ecbf94b0da53da05a37b6c0166ba6d3cac0b66775a9665
MD5 51e4b9a348626834841977ad46272b8a
BLAKE2b-256 46179ab419aafb1cd05c6b1f67c994a58aae777636cfcd4be7eb610ddfe044f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page