{"id":37071571,"url":"https://github.com/beastmatser/aiopokeapi","last_synced_at":"2026-01-14T08:23:53.537Z","repository":{"id":38326412,"uuid":"411394162","full_name":"beastmatser/aiopokeapi","owner":"beastmatser","description":"An asynchronous API wrapper for the pokeapi written in Python.","archived":false,"fork":false,"pushed_at":"2025-09-19T10:04:30.000Z","size":7581,"stargazers_count":47,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-25T04:59:24.927Z","etag":null,"topics":["async-await","asynchronous","pokemon-api","python"],"latest_commit_sha":null,"homepage":"","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/beastmatser.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-28T18:20:15.000Z","updated_at":"2025-09-19T10:04:27.000Z","dependencies_parsed_at":"2024-01-05T19:27:36.881Z","dependency_job_id":"d036f170-11da-4a19-81fb-7369498aace3","html_url":"https://github.com/beastmatser/aiopokeapi","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/beastmatser/aiopokeapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastmatser%2Faiopokeapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastmatser%2Faiopokeapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastmatser%2Faiopokeapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastmatser%2Faiopokeapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beastmatser","download_url":"https://codeload.github.com/beastmatser/aiopokeapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beastmatser%2Faiopokeapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:16:59.381Z","status":"ssl_error","status_checked_at":"2026-01-14T08:13:45.490Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["async-await","asynchronous","pokemon-api","python"],"created_at":"2026-01-14T08:23:52.859Z","updated_at":"2026-01-14T08:23:53.524Z","avatar_url":"https://github.com/beastmatser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n   \u003cimg src=\"assets/aiopokeapi-readme-banner.png\"\u003e\n   \u003ch1 align=\"center\"\u003e AioPokéApi\u003c/h1\u003e\n   \u003cp align=\"center\"\u003e An Asynchronous API wrapper for the \u003ca href=\"https://pokeapi.co\"\u003ePokéApi\u003c/a\u003e written in \u003cb\u003ePython\u003c/b\u003e.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n   \u003cimg id=\"tests\" src=\"https://img.shields.io/github/actions/workflow/status/beastmatser/aiopokeapi/tests.yml?branch=main\u0026label=Tests\u0026logo=github\u0026style=flat-square\"\u003e\n   \u003cimg id=\"pypi-version\" src=\"https://img.shields.io/pypi/v/aiopokeapi?label=Pypi%20version\u0026logo=pypi\u0026logoColor=ffffff\u0026style=flat-square\"\u003e\n   \u003cimg id=\"python-version\" src=\"https://img.shields.io/pypi/pyversions/aiopokeapi?label=Python%20version\u0026logo=python\u0026logoColor=ffffff\u0026style=flat-square\"\u003e\n   \u003cimg id=\"license\" src=\"https://img.shields.io/github/license/beastmatser/aiopokeapi?label=License\u0026style=flat-square\"\u003e\n   \u003cimg id=\"style\" src=\"https://img.shields.io/badge/Code%20style-black-black?style=flat-square\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://github.com/beastmatser/aiopokeapi/issues/new/choose\"\u003e Report issue\u003c/a\u003e\n   ·\n   \u003ca href=\"https://github.com/beastmatser/aiopokeapi/issues/new/choose\"\u003e Request feature\u003c/a\u003e\n   ·\n   \u003ca href=\"https://github.com/beastmatser/aiopokeapi/fork\"\u003e Fork project\u003c/a\u003e\n\u003c/p\u003e\n\n## :old_key: Key Features\n\n- Use of modern Python keywords: `async` and `await`.\n- Every object is fully type hinted.\n- Objects get cached, this increases speed and avoids unnecessary API requests.\n\n## :earth_africa: Documentation\n\nAll endpoints of the PokéApi are accesible through methods of the `AiopokeClient`,\nthese methods are listed in [aiopoke_client.py](./src/aiopoke/aiopoke_client.py) and should be fairly straightforward to use.\n\n## :comet: Installation\n\n```sh\npip install aiopokeapi\n```\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\n    :gear: \u003ci\u003e Didn't work?\u003c/i\u003e\n\u003c/summary\u003e\n\nDepending on your Python installation, you might need to use one of the\nfollowing:\n\n- Python is not in PATH\n\n  ```sh\n  path/to/python.exe -m pip install aiopokeapi\n  ```\n\n- Python is in PATH but pip is not\n\n  ```sh\n  python -m pip install aiopokeapi\n  ```\n\n- Unix systems can use pip3/python3 commands\n\n  ```sh\n  pip3 install aiopokeapi\n  ```\n\n  ```sh\n  python3 -m pip install aiopokeapi\n  ```\n\n- Using multiple Python versions\n\n  ```sh\n  py -m pip install aiopokeapi\n  ```\n\n\u003c/details\u003e\n\n## :rocket: Getting started\n\nAiopoke's goal is to be simple and easy to use:\n\n```py\nimport asyncio\nimport aiopoke\n\nasync def main():\n   client = aiopoke.AiopokeClient()\n\n   ability = await client.get_ability(1)\n   generation = await ability.generation.fetch()\n\n   await client.close()\n\nasyncio.run(main())\n```\n\nOr even better, using a context manager:\n\n```py\n# in main()\nasync with aiopoke.AiopokeClient() as client:\n   ability = await client.get_ability(1)\n   generation = await ability.generation.fetch()\n```\n\nIf you are hosting the pokeapi locally and still want to use aiopokeapi,\nyou may pass a base url into the keyword arguments of `AiopokeClient` as follows:\n\n```py\naiopoke.AiopokeClient(base_url=\"https://localhost:8080\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeastmatser%2Faiopokeapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeastmatser%2Faiopokeapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeastmatser%2Faiopokeapi/lists"}