Skip to main content

An async wrapper for Kitsu.io API written in python

Project description

askitsu

TwitterShomy askitsu Documentation Status

An async wrapper for Kitsu.io API written in Python

askitsu

Key features

  • Fully typed
  • Use of async/await
  • Support most of primary Kitsu entries -- Anime, Manga, Characters and much more
  • Can be used with discord bots

Installing

Requires python 3.8+

To install the package, you can simply run

#Linux/MacOS
python3 -m pip install askitsu


#Windows
py -3 -m pip install askitsu

Or to get the latest dev version

#Linux/MacOS
python3 -m pip install git+https://github.com/ShomyKohai/askitsu.git

  

#Windows
py -3 -m pip install git+https://github.com/ShomyKohai/askitsu.git

Requirements

Examples

import askitsu
import asyncio

async def search():
    client = askitsu.Client()
    anime = client.search_anime("attack on titan")
    print(anime.episode_count)
    print(anime.status)
    client.close()

loop = asyncio.get_event_loop()
loop.run_until_complete(search())

More examples can be found inside the example directory -> Here

Links

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

askitsu-0.4.1.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

askitsu-0.4.1-py3-none-any.whl (19.7 kB view hashes)

Uploaded Python 3

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