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.5.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.5.tar.gz.
File metadata
- Download URL: yummyanime-0.0.5.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 |
84d1aacedafb21fdbee500cd6662997a33cb4b87a302911f8bb6c40f9d4e9712
|
|
| MD5 |
32735e7db2f02ba23fd182291e59118c
|
|
| BLAKE2b-256 |
ae6365ce1560780ef43a85485db23c5d3690372201e5c664a2222778b3983a81
|
File details
Details for the file yummyanime-0.0.5-py3-none-any.whl.
File metadata
- Download URL: yummyanime-0.0.5-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 |
84d731c7bc7b61d71ab30da28f7fe6acdf9423cd8bfa4893a398d01123cde412
|
|
| MD5 |
5ec7ebb13880d37a5f7b28a054be7ebf
|
|
| BLAKE2b-256 |
4abf5c7fb45e3ceb5073322738008368c918a484efa898f4779f56c856a18f5f
|