{"id":13501498,"url":"https://github.com/tsifrer/python-twitch-client","last_synced_at":"2025-03-29T09:30:40.768Z","repository":{"id":17331825,"uuid":"81694031","full_name":"tsifrer/python-twitch-client","owner":"tsifrer","description":"Python wrapper for Twitch API","archived":false,"fork":false,"pushed_at":"2024-03-20T15:48:05.000Z","size":227,"stargazers_count":160,"open_issues_count":17,"forks_count":42,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-04T11:02:47.947Z","etag":null,"topics":["api","client","python","twitch","wrapper"],"latest_commit_sha":null,"homepage":"http://python-twitch-client.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsifrer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-12T01:05:03.000Z","updated_at":"2024-10-27T19:35:50.000Z","dependencies_parsed_at":"2024-06-18T17:01:11.957Z","dependency_job_id":"a1946fde-ab35-4058-90cd-9f4c8fb90acb","html_url":"https://github.com/tsifrer/python-twitch-client","commit_stats":{"total_commits":140,"total_committers":23,"mean_commits":6.086956521739131,"dds":"0.30000000000000004","last_synced_commit":"bd2d79135f62bf45acd244079e0873f4987a6352"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsifrer%2Fpython-twitch-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsifrer%2Fpython-twitch-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsifrer%2Fpython-twitch-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsifrer%2Fpython-twitch-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsifrer","download_url":"https://codeload.github.com/tsifrer/python-twitch-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246166991,"owners_count":20734377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","client","python","twitch","wrapper"],"created_at":"2024-07-31T22:01:39.522Z","updated_at":"2025-03-29T09:30:40.493Z","avatar_url":"https://github.com/tsifrer.png","language":"Python","funding_links":[],"categories":["Python","Libraries"],"sub_categories":["Python"],"readme":"python-twitch-client\n====================\n\n[![Latest docs][docs-img]][docs]\n[![Latest version][pypi-img]][pypi]\n[![Latest build][ci-img]][gh-actions]\n[![Coverage][codecov-img]][codecov]\n\n\n\n\n`python-twitch-client` is an easy to use Python library for accessing the\nTwitch API\n\nYou can find more information in the [documentation][docs] or for support, you can join the [Discord Server](https://discord.me/twitch-api).\n\n\nNote\n==============================================\n\n`python-twitch-client` currently supports Twitch API v5 and the new Helix API.\n\nIf you find a missing endpoint or a bug please raise an [issue][issues] or\ncontribute and open a [pull request][pulls].\n\n\nBasic Usage\n==============================================\nHelix API\n\n```python\nfrom itertools import islice\nfrom twitch import TwitchHelix\n\nclient = TwitchHelix(client_id='\u003cmy client id\u003e')\nstreams_iterator = client.get_streams(page_size=100)\nfor stream in islice(streams_iterator, 0, 500):\n    print(stream)\n```\n\n\nTwitch API v5\n```python\nfrom twitch import TwitchClient\n\nclient = TwitchClient(client_id='\u003cmy client id\u003e')\nchannel = client.channels.get_by_id(44322889)\n\nprint(channel.id)\nprint(channel.name)\nprint(channel.display_name)\n```\n\n[docs]: http://python-twitch-client.rtfd.io\n[docs-img]: https://readthedocs.org/projects/python-twitch-client/badge/?version=latest (Latest docs)\n[pulls]: https://github.com/tsifrer/python-twitch-client/pulls\n[issues]: https://github.com/tsifrer/python-twitch-client/issues\n[pypi]: https://pypi.python.org/pypi/python-twitch-client/\n[pypi-img]: https://img.shields.io/pypi/v/python-twitch-client.svg\n[codecov]: https://codecov.io/gh/tsifrer/python-twitch-client\n[codecov-img]: https://codecov.io/gh/tsifrer/python-twitch-client/branch/master/graph/badge.svg\n[gh-actions]: https://github.com/tsifrer/python-twitch-client/actions\n[ci-img]: https://github.com/tsifrer/python-twitch-client/workflows/CI/badge.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsifrer%2Fpython-twitch-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsifrer%2Fpython-twitch-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsifrer%2Fpython-twitch-client/lists"}