Skip to main content

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

Metadata

Release files for askitsu 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for askitsu 1.0.0
File Size Uploaded
askitsu-1.0.0.tar.gz 19.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for askitsu 1.0.0
File Interpreter ABI Platform
askitsu-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 50.3 kB

Release files / askitsu-1.0.0.tar.gz

Download URL askitsu-1.0.0.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0e4edf7e3dde308c3a698f4c538ff92989829c698822af77d862d9486eb9d9f5
BLAKE2b-256 checksum
How to use checksums
c1198785007d5b699065dd894e177abe71f3d89d84968f974863151a3fe3b5d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/5.15.0-58-generic

Release files / askitsu-1.0.0-py3-none-any.whl

Download URL askitsu-1.0.0-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4402f5fe354f90050e11a36d372b6e1825d22873734d2e5cb84a5b28e868ac5
BLAKE2b-256 checksum
How to use checksums
0d661cb5b255e56345b5425039b16f60a93cd6aef0322e1245e0355ac09540d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.10 Linux/5.15.0-58-generic

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page