PetterKraabol / Twitch Python
Licence: mit
Object-oriented Twitch API for Python developers
Stars: ✭ 138
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Twitch Python
Anyapi
AnyAPI is a library that helps you to write any API wrappers with ease and in pythonic way.
Stars: ✭ 126 (-8.7%)
Mutual labels: api-wrapper
Twitchpotplayer
Extensions for PotPlayer to watch Twitch streams without streamlinks or any crap.
Stars: ✭ 112 (-18.84%)
Mutual labels: twitch
Ttv aderaser
TTV AdEraser aims to remove livestream ads as well as add some useful features to our favourite streaming site.
Stars: ✭ 122 (-11.59%)
Mutual labels: twitch
Bittrex.net
A C# .Net wrapper for the Bittrex web API including all features easily accessible and usable
Stars: ✭ 131 (-5.07%)
Mutual labels: api-wrapper
Webnowplaying
A NowPlaying like plugin for rainmeter built for getting music info from websites
Stars: ✭ 106 (-23.19%)
Mutual labels: twitch
Basic Shopify Api
A simple API wrapper for Shopify using Guzzle for REST and GraphQL
Stars: ✭ 137 (-0.72%)
Mutual labels: api-wrapper
Twitchrecover
Twitch VOD tool which recovers all VODs including those that are sub only or deleted.
Stars: ✭ 123 (-10.87%)
Mutual labels: twitch
Tlaw
The Last API Wrapper: Pragmatic API wrapper framework
Stars: ✭ 112 (-18.84%)
Mutual labels: api-wrapper
Arxivscraper
A python module to scrape arxiv.org for specific date range and categories
Stars: ✭ 121 (-12.32%)
Mutual labels: api-wrapper
Extendr
R extension library for rust designed to be familiar to R users.
Stars: ✭ 133 (-3.62%)
Mutual labels: api-wrapper
Vidgear
A High-performance cross-platform Video Processing Python framework powerpacked with unique trailblazing features 🔥
Stars: ✭ 2,048 (+1384.06%)
Mutual labels: twitch
Jekyll Embed Video
Embed videos in Jekyll webpages without a plugin (Youtube, Vimeo, Twitch, Streamable, Mixer, Google Drive clips + more)
Stars: ✭ 135 (-2.17%)
Mutual labels: twitch
Twitch Python
pip install --user twitch-python
An object-oriented approach to accessing the Twitch API and live chat with relationships and smart caching.
Requirements
Usage
# Twitch API
import twitch
helix = twitch.Helix('client-id', 'client-secret')
# Users
for user in helix.users(['sodapoppin', 'reckful', 24250859]):
print(user.display_name)
print(helix.user('zarlach').display_name)
# Videos
for video in helix.videos([318017128, 317650435]):
print(video.title)
print(helix.video(318017128).title)
# Video Comments (VOD chat)
for comment in helix.video(318017128).comments:
print(comment.commenter.display_name)
for video, comments in helix.videos([318017128, 317650435]).comments:
for comment in comments:
print(comment.commenter.display_name, comment.message.body)
for video, comments in helix.user('sodapoppin').videos().comments:
for comment in comments:
print(comment.commenter.display_name, comment.message.body)
for user, videos in helix.users(['sodapoppin', 'reckful']).videos(first=5):
for video, comments in videos.comments:
for comment in comments:
print(comment.commenter.display_name, comment.message.body)
# Twitch Chat
twitch.Chat(channel='#sodapoppin', nickname='zarlach', oauth='oauth:xxxxxx').subscribe(
lambda message: print(message.channel, message.user.display_name, message.text))
Features
- Object-oriented relationships
- Smart caching
- New Twitch API (Helix)
- VOD chat from Twitch API v5
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].