Coder Social home page Coder Social logo

iq-scm / python-twitch-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tsifrer/python-twitch-client

0.0 0.0 0.0 258 KB

Python wrapper for Twitch API

Home Page: http://python-twitch-client.readthedocs.io/

License: MIT License

Python 99.91% Makefile 0.09%

python-twitch-client's Introduction

python-twitch-client

Latest docs Latest version Latest build Coverage

python-twitch-client is an easy to use Python library for accessing the Twitch API

You can find more information in the documentation or for support, you can join the Discord Server.

Note

python-twitch-client currently supports Twitch API v5 and the new Helix API.

If you find a missing endpoint or a bug please raise an issue or contribute and open a pull request.

Basic Usage

Helix API

from itertools import islice
from twitch import TwitchHelix

client = TwitchHelix(client_id='<my client id>')
streams_iterator = client.get_streams(page_size=100)
for stream in islice(streams_iterator, 0, 500):
    print(stream)

Twitch API v5

from twitch import TwitchClient

client = TwitchClient(client_id='<my client id>')
channel = client.channels.get_by_id(44322889)

print(channel.id)
print(channel.name)
print(channel.display_name)

python-twitch-client's People

Contributors

ambrozic avatar boraxtheclean avatar btbn avatar dependabot[bot] avatar disabledtech avatar fabaff avatar garciabruno avatar garyking avatar goldbattle avatar grover-c13 avatar jacquerie avatar jchristgit avatar jollex avatar jonnekaunisto avatar jvtrigueros avatar m3adow avatar nicolaskyejo avatar nihaals avatar nipun-air avatar scop avatar truenicfel avatar tsifrer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.