Skip to main content

A up to date asynchronous api wrapper for the jikan api

Project description

AioJikan

An asynchronous api wrapper for the Jikan API.

Features

  • Simple and Easy to use

  • 100% API Coverage

  • Fully typehinted models (I tried my best at least)

  • Usage of datetime objects where applicable for easy conversions

Examples

All projects should create a single instance of AioJikan, provide it with an aiohttp.ClientSession if you want to, and you're good to go.

import asyncio

import aiojikan



async def main():



    client = aiojikan.AioJikan()



    love_is_war = await client.get_anime(37999)



    print(f"Love is war has {love_is_war.favorites} favorites!")



    await client.close()



loop = asyncio.get_event_loop()

loop.run_until_complete(main())

License

This library is licensed under the MIT license, please review it here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiojikan-0.0.1.tar.gz (5.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page