Skip to main content
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

Release files for pytwitcherapi 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytwitcherapi 0.9.3
File Size Uploaded
pytwitcherapi-0.9.3.tar.gz 36.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytwitcherapi 0.9.3
File Interpreter ABI Platform
pytwitcherapi-0.9.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 65.5 kB

Release files / pytwitcherapi-0.9.3.tar.gz

Download URL pytwitcherapi-0.9.3.tar.gz
Size 36.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9869fde694c5b6809f7ce15bf09fdd6a0b1d0f18df03d3b32f2ae4e86752de21
BLAKE2b-256 checksum
How to use checksums
c4630dc6cbc894c4b3acf7b11347ff219bb2264a48ad4079c51028d6ed22807d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pytwitcherapi-0.9.3-py2.py3-none-any.whl

Download URL pytwitcherapi-0.9.3-py2.py3-none-any.whl
Size 28.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
69918915a25c6adc8bf1a5c10de465a795f4f66f8b86d410086880cb5324b6ef
BLAKE2b-256 checksum
How to use checksums
92addab633f8861edb4a086c31581850d7150c78cdbdbc602b526fe2ffb0a9b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9.3 This release

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page