kitsu.py-extended 1.0.4

Creator: bradpython12

Last updated:

Add to Cart

Description:

kitsu.pyextended 1.0.4

Kitsu.py_extended
Important:
This is a fork of MrArkon/kitsu.py
Key Features

Simple and modern Pythonic API using async/await
Fully typed

Requirements
Python 3.8+

aiohttp
python-dateutil

Installing
To install the library, run the following commands:
# Linux/MacOS
python3 -m pip install -U kitsu_extended.py_extended

# Windows
py -3 -m pip install -U kitsu_extended.py_extended

Usage
Search for an anime:
import kitsu_extended
import asyncio

client = kitsu_extended.Client()


async def main():
anime = await client.search_anime("jujutsu kaisen", limit=1)

print("Canonical Title: " + anime.canonical_title)
print("Average Rating: " + str(anime.average_rating))

# Close the internal aiohttp ClientSession
await client.close()


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

This prints:
Canonical Title: Jujutsu Kaisen
Average Rating: 85.98

You can find more examples in the examples directory.
License
This project is distributed under the MIT license.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.