An async API wrapper for Kitsu.io
Project description
askitsu
An async wrapper for Kitsu.io API written in Python
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
- Docs
- PyPi
- Kitsu.io Docs
- discord.py (bot example)
"Kitsu" name and the "Kitsu logo" are property of Kitsu
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file askitsu-1.0.0.tar.gz.
File metadata
- Download URL: askitsu-1.0.0.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.15.0-58-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e4edf7e3dde308c3a698f4c538ff92989829c698822af77d862d9486eb9d9f5
|
|
| MD5 |
8e1e5290740dafb438cb7192c6e310f7
|
|
| BLAKE2b-256 |
c1198785007d5b699065dd894e177abe71f3d89d84968f974863151a3fe3b5d7
|
File details
Details for the file askitsu-1.0.0-py3-none-any.whl.
File metadata
- Download URL: askitsu-1.0.0-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.15.0-58-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4402f5fe354f90050e11a36d372b6e1825d22873734d2e5cb84a5b28e868ac5
|
|
| MD5 |
ee0ea61f97ce55db2e6d6ff6c0987509
|
|
| BLAKE2b-256 |
0d661cb5b255e56345b5425039b16f60a93cd6aef0322e1245e0355ac09540d0
|