Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python API for interacting with twitch.tv

Project Description

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 twitch.tv.

Features

  • 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)

History

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: twitch.tv/membership, twitch.tv/commands, twitch.tv/tags

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
Release History

Release History

This version
History Node

0.9.3

History Node

0.9.1

History Node

0.9.0

History Node

0.8.0

History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.0

History Node

0.5.1

History Node

0.5.0

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.1

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytwitcherapi-0.9.3-py2.py3-none-any.whl (28.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Aug 27, 2017
pytwitcherapi-0.9.3.tar.gz (36.8 kB) Copy SHA256 Checksum SHA256 Source Aug 27, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting