Skip to main content

Python API for interacting with twitch.tv

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

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

pytwitcherapi-0.9.3.tar.gz (36.8 kB view details)

Uploaded Source

Built Distribution

pytwitcherapi-0.9.3-py2.py3-none-any.whl (28.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytwitcherapi-0.9.3.tar.gz.

File metadata

File hashes

Hashes for pytwitcherapi-0.9.3.tar.gz
Algorithm Hash digest
SHA256 9869fde694c5b6809f7ce15bf09fdd6a0b1d0f18df03d3b32f2ae4e86752de21
MD5 c9431092499bcf243d8f5800db9ac974
BLAKE2b-256 c4630dc6cbc894c4b3acf7b11347ff219bb2264a48ad4079c51028d6ed22807d

See more details on using hashes here.

File details

Details for the file pytwitcherapi-0.9.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytwitcherapi-0.9.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69918915a25c6adc8bf1a5c10de465a795f4f66f8b86d410086880cb5324b6ef
MD5 ac70a81bf39fe6719fbd49164fdc16e3
BLAKE2b-256 92addab633f8861edb4a086c31581850d7150c78cdbdbc602b526fe2ffb0a9b1

See more details on using hashes here.

Supported by

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