shomykohai / askitsu

🦊 An async API wrapper for Kitsu.io

Home Page:https://askitsu.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

askitsu

TwitterShomy askitsu Documentation Status

An async wrapper for Kitsu.io API written in Python

askitsu

IMPORTANT

πŸ’‘ UPDATE:
The master branch is now in a status where it can be used.
For any issue you may encounter, please make a new issue.
You can check the projects tab to see current progress.

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

Currently avaiable endpoints

  • 🎞️ Anime (Anime, Episodes and Streaming Links)
  • πŸ“– Manga (Manga and Chapters)
  • πŸ‘₯ Characters
  • πŸ“° Reviews
  • πŸ‘€ User (Profile and Profile Links)
  • πŸ—žοΈ Posts
  • πŸ“š User Libraries

Coming soon:

  • πŸ—¨οΈ Comments

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 = await client.search_anime("attack on titan")
    print(anime.episode_count)
    print(anime.status)
    await client.close()

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

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

Links & Credits

"Kitsu" name and the "Kitsu logo" are property of Kitsu

About

🦊 An async API wrapper for Kitsu.io

https://askitsu.readthedocs.io/

License:MIT License


Languages

Language:Python 100.0%