AioPoke

An asynchronous API wrapper for the PokeApi. It is designed to be easy to use and and intuitive. You can find a very minimalist documentation here An example:

python

aiopoke.py

import asyncio
import aiopoke


async def main() -> None:
    async with aiopoke.AiopokeClient() as client:
        berry = await client.get_berry(1)
        print(berry)

        # An object can also have 'MinimalResources' as attributes
        # You can fetch those with .fetch(), for example:
        item = await berry.item.fetch()


asyncio.run(main())

Download AioPokeApi

bash

install.sh

# Install via PyPi:
pip install aiopokeapi

# Install via Github
pip install git+https://github.com/beastmatser/aiopokeapi.git