{ "info": { "author": "TwitchIO", "author_email": "", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": ".. image:: logo.png?raw=true\n :align: center\n\n.. image:: https://img.shields.io/badge/Python-3.6%20%7C%203.7-blue.svg\n :target: https://www.python.org\n\n.. image:: https://img.shields.io/github/license/TwitchIO/TwitchIO.svg\n :target: LICENSE\n\n.. image:: https://api.codacy.com/project/badge/Grade/61e9d573b4af415a809068333d6b437b\n :target: https://app.codacy.com/project/mysterialpy/TwitchIO/dashboard\n\n.. image:: https://api.codeclimate.com/v1/badges/1d1a6d3e8e3e3e29109e/maintainability\n :target: https://codeclimate.com/github/TwitchIO/TwitchIO\n :alt: Maintainability\n\n\nAn Asynchronous IRC/API Wrapper currently in Development for TwitchBots made in Python!\n\nDocumentation\n---------------------------\nOfficial Documentation: `Click Here! `_\n\nSupport\n---------------------------\nFor support using TwitchIO, please join the official `support server\n`_ on `Discord `_.\n\nInstallation\n---------------------------\nThe following commands are currently the valid ways of installing TwitchIO.\n\n**TwitchIO requires Python 3.6 or higher.**\n\n**Windows**\n\n.. code:: sh\n\n py -version -m pip install twitchio\n\n**Linux**\n\n.. code:: sh\n\n python3 -m pip install twitchio\n\nGetting Started\n----------------------------\nTwitchIO uses many endpoints which may require different tokens and IDs.\n\n1. IRC endpoints which require an OAuth token.\n To get a token, log in to Twitch with the bot's account and visit:\n https://twitchapps.com/tmi/\n\n2. HTTP endpoints which require a client ID.\n *To be documented.*\n\n3. HTTP endpoints which require an OAuth token and certain scopes.\n *To be documented.*\n\nAll 3 endpoints may be used at the same time. Otherwise, you may choose to use any or some of the endpoints.\n\nCurrently, TwitchIO's development is at a phase which has emphasis on the IRC endpoint and creating a framework around it.\nOnce this is implemented, the other 2 endpoints will be developed further.\n\nA quick and easy bot example:\n\n.. code:: py\n\n from twitchio.ext import commands\n\n\n class Bot(commands.Bot):\n\n def __init__(self):\n super().__init__(irc_token='...', client_id='...', nick='...', prefix='!',\n initial_channels=['...'])\n\n # Events don't need decorators when subclassed\n async def event_ready(self):\n print(f'Ready | {self.nick}')\n\n async def event_message(self, message):\n print(message.content)\n await self.handle_commands(message)\n\n # Commands use a different decorator\n @commands.command(name='test')\n async def my_command(self, ctx):\n await ctx.send(f'Hello {ctx.author.name}!')\n\n\n bot = Bot()\n bot.run()\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TwitchIO/TwitchIO", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "twitchio", "package_url": "https://pypi.org/project/twitchio/", "platform": "", "project_url": "https://pypi.org/project/twitchio/", "project_urls": { "Homepage": "https://github.com/TwitchIO/TwitchIO" }, "release_url": "https://pypi.org/project/twitchio/1.0.0/", "requires_dist": [ "aiohttp (>=3.3)", "async-timeout (>=3.0.0)", "websockets (>=6.0)" ], "requires_python": "", "summary": "A Python IRC and API wrapper for Twitch.", "version": "1.0.0" }, "last_serial": 5237762, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "661e4f99e09152e276d2aeaa0a1100a9", "sha256": "3499ff52c97d49ff02e048f0e244a301533c788f83aca8688586a02da77f5b17" }, "downloads": -1, "filename": "twitchio-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "661e4f99e09152e276d2aeaa0a1100a9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 45706, "upload_time": "2019-05-07T11:19:38", "url": "https://files.pythonhosted.org/packages/09/23/14c6fd5e10aec5e5d992f3d43963d38d1f1f3c1a4e79d78cad53fa2cc627/twitchio-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04a76d14acd82141350199e7a11b3848", "sha256": "ace5b8a9348f40ceb9e8348539e857820bb13b207e35c9b48326d56b7f59b953" }, "downloads": -1, "filename": "twitchio-1.0.0.tar.gz", "has_sig": false, "md5_digest": "04a76d14acd82141350199e7a11b3848", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30019, "upload_time": "2019-05-07T11:19:41", "url": "https://files.pythonhosted.org/packages/90/88/3362fd5fb914f0d5658bf4f6bc642686bbb4a4be2a37e85ea615ffc3f934/twitchio-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "661e4f99e09152e276d2aeaa0a1100a9", "sha256": "3499ff52c97d49ff02e048f0e244a301533c788f83aca8688586a02da77f5b17" }, "downloads": -1, "filename": "twitchio-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "661e4f99e09152e276d2aeaa0a1100a9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 45706, "upload_time": "2019-05-07T11:19:38", "url": "https://files.pythonhosted.org/packages/09/23/14c6fd5e10aec5e5d992f3d43963d38d1f1f3c1a4e79d78cad53fa2cc627/twitchio-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04a76d14acd82141350199e7a11b3848", "sha256": "ace5b8a9348f40ceb9e8348539e857820bb13b207e35c9b48326d56b7f59b953" }, "downloads": -1, "filename": "twitchio-1.0.0.tar.gz", "has_sig": false, "md5_digest": "04a76d14acd82141350199e7a11b3848", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30019, "upload_time": "2019-05-07T11:19:41", "url": "https://files.pythonhosted.org/packages/90/88/3362fd5fb914f0d5658bf4f6bc642686bbb4a4be2a37e85ea615ffc3f934/twitchio-1.0.0.tar.gz" } ] }