Yummy Anime API wrapper
Project description
YummyAnime API python
This is a wrapper around yummyanime API, written in Python async.
Installation
pip install yummyanime
#OR
pip install git+https://github.com/IM1corp/YummyAPI
Getting started
Before using the API, create DEV application here.
After that, start using it right away:
import asyncio
from yummyanime import YummyApi, Format
api = YummyApi("your_client_id from https://yummyani.me/dev/applications", Format.JSON)
async def main(url: str):
anime = await api.anime.get(url, need_videos=True)
print("Friren's anime title: ", anime.response.title)
video_kodik = next(i for i in anime.response.videos if "kodik." in i.iframe_url)
qualities = await video_kodik.qualities(anime.response)
print("Link to 720p: ", qualities.p720)
asyncio.run(main('provozhayushchaya-posledniy-put-friren'))
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
yummyanime-0.0.8.tar.gz
(13.0 kB
view details)
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 yummyanime-0.0.8.tar.gz.
File metadata
- Download URL: yummyanime-0.0.8.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2634f9de536d9719aae00401a51fc6c77b947df46fac6c1c128936a4b4e61138
|
|
| MD5 |
f0bf1769eaf6bd144456d95d19ef480a
|
|
| BLAKE2b-256 |
d5c9a81c6ff8d285a24032626910b30611cecd926c130a917fedcddec1fbc16e
|
File details
Details for the file yummyanime-0.0.8-py3-none-any.whl.
File metadata
- Download URL: yummyanime-0.0.8-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
937dd28c303e2fa2f32399b33831a90f58da25a24b605e2c74e53738d91d518a
|
|
| MD5 |
5a6d2f2e01e1817abb756e210a228ca5
|
|
| BLAKE2b-256 |
f6f3b1aa1559d6b580a4a9b9015570345a766497604dd70e35ac9d5a2c29bdc2
|