{"id":13501499,"url":"https://github.com/PythonistaGuild/TwitchIO","last_synced_at":"2025-03-29T09:30:39.129Z","repository":{"id":37601508,"uuid":"106149652","full_name":"PythonistaGuild/TwitchIO","owner":"PythonistaGuild","description":"An Async Bot/API wrapper for Twitch made in Python.","archived":false,"fork":false,"pushed_at":"2024-10-30T15:54:52.000Z","size":5344,"stargazers_count":798,"open_issues_count":18,"forks_count":162,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-10-30T16:39:51.673Z","etag":null,"topics":["api","async","bot-framework","hacktoberfest","python","python-twitch-api","python3","twitch","twitch-api","twitch-bot","twitch-irc","twitchirc","wrapper"],"latest_commit_sha":null,"homepage":"https://twitchio.dev","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/PythonistaGuild.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["IAmTomahawkx","chillymosh"]}},"created_at":"2017-10-08T04:19:33.000Z","updated_at":"2024-10-28T09:53:53.000Z","dependencies_parsed_at":"2023-09-23T22:35:27.459Z","dependency_job_id":"7d20274d-9cd5-4ced-b374-ab373a6d4244","html_url":"https://github.com/PythonistaGuild/TwitchIO","commit_stats":null,"previous_names":["twitchio/twitchio"],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonistaGuild%2FTwitchIO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonistaGuild%2FTwitchIO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonistaGuild%2FTwitchIO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonistaGuild%2FTwitchIO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PythonistaGuild","download_url":"https://codeload.github.com/PythonistaGuild/TwitchIO/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222481479,"owners_count":16991452,"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","async","bot-framework","hacktoberfest","python","python-twitch-api","python3","twitch","twitch-api","twitch-bot","twitch-irc","twitchirc","wrapper"],"created_at":"2024-07-31T22:01:39.552Z","updated_at":"2024-10-31T20:31:29.585Z","avatar_url":"https://github.com/PythonistaGuild.png","language":"Python","readme":".. image:: https://raw.githubusercontent.com/TwitchIO/TwitchIO/master/logo.png\n    :align: center\n    \n    \n.. image:: https://img.shields.io/badge/Python-3.7%20%7C%203.8%20%7C%203.9-blue.svg\n    :target: https://www.python.org\n\n\n.. image:: https://img.shields.io/github/license/TwitchIO/TwitchIO.svg\n    :target: ./LICENSE\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n.. image:: https://img.shields.io/pypi/dm/twitchio?color=black\n    :target: https://pypi.org/project/twitchio\n    :alt: PyPI - Downloads\n\n\nTwitchIO is an asynchronous Python wrapper around the Twitch API and IRC, with a powerful command extension for creating Twitch Chat Bots. TwitchIO covers almost all of the new Twitch API and features support for commands, PubSub, Webhooks, and EventSub.\n\nDocumentation\n---------------------------\nFor the Official Documentation: `Click Here! \u003chttps://twitchio.dev/\u003e`_\n\nSupport\n---------------------------\nFor support using TwitchIO, please join the official `support server\n\u003chttps://discord.gg/RAKc3HF\u003e`_ on `Discord \u003chttps://discord.com/\u003e`_.\n\n|Discord|\n\n.. |Discord| image:: https://img.shields.io/discord/490948346773635102?color=%237289DA\u0026label=Pythonista\u0026logo=discord\u0026logoColor=white\n   :target: https://discord.gg/RAKc3HF\n   \nInstallation\n---------------------------\nTwitchIO requires **Python 3.7+**. You can download the latest version of Python  `here \u003chttps://www.python.org/downloads/\u003e`_.\n\n**Windows**\n\n.. code:: sh\n\n    py -m pip install -U twitchio\n\n**Linux**\n\n.. code:: sh\n\n    python -m pip install -U twitchio\n\nAccess Tokens\n---------------------------\nVisit `Token Generator \u003chttps://twitchtokengenerator.com/\u003e`_ for a simple way to generate tokens for use with TwitchIO.\n\nGetting Started\n---------------------------\nA simple Chat Bot.\n\n.. code:: python\n\n    from twitchio.ext import commands\n\n\n    class Bot(commands.Bot):\n\n        def __init__(self):\n            # Initialise our Bot with our access token, prefix and a list of channels to join on boot...\n            super().__init__(token='ACCESS_TOKEN', prefix='?', initial_channels=['...'])\n\n        async def event_ready(self):\n            # We are logged in and ready to chat and use commands...\n            print(f'Logged in as | {self.nick}')\n            print(f'User id is | {self.user_id}')\n\n        @commands.command()\n        async def hello(self, ctx: commands.Context):\n            # Send a hello back!\n            await ctx.send(f'Hello {ctx.author.name}!')\n\n\n    bot = Bot()\n    bot.run()\n\n\nContributing\n---------------------------\nTwitchIO currently uses the `Black \u003chttps://black.readthedocs.io/en/stable/\u003e`_ formatter to enforce sensible style formatting.\n\n\nBefore creating a Pull Request it is encouraged you install and run black on your code.\n\nThe Line Length limit for TwitchIO is **120**.\n\n\nFor installation and usage of Black visit: `Black Formatter \u003chttps://black.readthedocs.io/en/stable/usage_and_configuration/\u003e`_\n\nFor integrating Black into your IDE visit: `Black IDE Usage \u003chttps://black.readthedocs.io/en/stable/integrations/editors.html\u003e`_\n\nSpecial Thanks\n---------------------------\nThank you to all those who contribute and help TwitchIO grow.\n\nSpecial thanks to:\n\n`LostLuma (Lilly) \u003chttps://github.com/LostLuma\u003e`_\n\n`Harmon \u003chttps://github.com/Harmon758\u003e`_\n\n`Tom \u003chttps://github.com/IAmTomahawkx\u003e`_\n\n`Tesence \u003chttps://github.com/tesence\u003e`_\n\n`Adure \u003chttps://github.com/Adure\u003e`_\n\n`Scragly \u003chttps://github.com/scragly\u003e`_\n\n`Chillymosh \u003chttps://github.com/chillymosh\u003e`_\n\nIf I have forgotten anyone please let me know \u003c3: `EvieePy \u003chttps://github.com/EvieePy\u003e`_\n","funding_links":["https://github.com/sponsors/IAmTomahawkx","https://github.com/sponsors/chillymosh"],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPythonistaGuild%2FTwitchIO","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPythonistaGuild%2FTwitchIO","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPythonistaGuild%2FTwitchIO/lists"}