Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python API for interacting with

Project description

PyPI version Build Status Downloads per month Coverage License Documentation

This project is not developed anymore!

Twitch is a trademark or registered trademark of Twitch Interactive, Inc. in the U.S. and/or other countries. “pytwitcher” and “pytwitcherapi” is not operated by, sponsored by, or affiliated with Twitch Interactive, Inc. in any way.

Python API for interacting with


  • Easy-to-use object oriented high-level API
  • Search and query information about games, channels, streams and users
  • Get the livestream playlist
  • OAauth Authentication. Can retrieve followed streams and more…
  • Good documentation and test coverage
  • IRC client for the chat (with IRC v3 tag support)


0.1.1 (2015-03-15)

  • First release on PyPI.
  • Pulled pytwitcherapi out of main project pytwitcher

0.1.2 (2015-03-15)

  • Fix wrapping search stream results due to incomplete channel json

0.1.3 (2015-03-23)

  • Refactor twitch module into models and session module

0.1.4 (2015-03-23)

  • Fix wrap json using actual class instead of cls

0.2.0 (2015-04-12)

  • Authentication: User can login and TwitchSession can retrieve followed streams.

0.3.0 (2015-05-08)

  • Easier imports. Only import the package for most of the cases.
  • Added logging. Configure your logger and pytwitcher will show debug messages.

0.3.1 (2015-05-09)

  • Fix login server shutdown by correctly closing the socket

0.4.0 (2015-05-12)

  • IRC client for twitch chat

0.5.0 (2015-05-13)

  • IRC v3 Tags for messages

0.5.1 (2015-05-13)

  • Fix coverage reports via travis

0.6.0 (2015-05-16)

  • Add limit for sending messages

0.7.0 (2015-05-16)

  • IRCCLient manages two connections. Receives own messages from the server (with tags).
  • Improved test thread saftey

0.7.1 (2015-05-22)

  • IRCClient shutdown is now thread-safe through events

0.7.2 (2015-05-30)

  • Add TwitchSession.get_emote_picture(emote, size).
  • Capabilities for chat:,,

0.8.0 (2015-05-31)

  • Replace context managers for apis with dedicated methods. The context managers made it difficult to use a session thread-safe because they relied (more heavily) on the state of the session.

0.9.0 (2016-09-16)

  • Remove on_schedule argument for irc client. irc >=15.0 required.
  • #17: Always submit a client id in the headers. Credits to Coriou.
  • Client ID can be provided via environment variable PYTWITCHER_CLIENT_ID.

0.9.1 (2016-09-18)

  • Make example chat client python 3 compatible
  • #16: Ignore unknown arguments from twitchstatus
  • Use Client ID for old api requests as well

0.9.2 (2017-08-27)

  • Fix compatibility to irc>=16.0. Thanks to crey4fun.

0.9.3 (2017-08-27)

  • Re-release of 0.9.2

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pytwitcherapi-0.9.3-py2.py3-none-any.whl (28.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Aug 27, 2017
pytwitcherapi-0.9.3.tar.gz (36.8 kB) Copy SHA256 hash SHA256 Source None Aug 27, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page