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.4.tar.gz
(12.5 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.4.tar.gz.
File metadata
- Download URL: yummyanime-0.0.4.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9705646fd69094106bcbc5d5854ff253891127723bd132f557e05223af322ffa
|
|
| MD5 |
6f8883987ddf75bc5c7670f238bcc9c9
|
|
| BLAKE2b-256 |
e519291c0dfca321cf267b58ef3354e6e97696e13b6c79360b921485825a9112
|
File details
Details for the file yummyanime-0.0.4-py3-none-any.whl.
File metadata
- Download URL: yummyanime-0.0.4-py3-none-any.whl
- Upload date:
- Size: 15.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 |
632d83f6660aa9b0937356916d9c50078d87602b475aae11a081c6539e6ab8de
|
|
| MD5 |
8b7fb5f677b48ce6b028120f8cc2cdfd
|
|
| BLAKE2b-256 |
a965cd154e27905cd1658dab195964ebe5447422656091723f17ca4e8bc86c48
|