Skip to content

IM1corp/YummyAPI

Repository files navigation

YummyAnime API python

This is a wrapper around yummyanime API, written in Python async.

Installation

pip install yummyanime
#OR using git
pip install git+https://github.com/IM1corp/YummyAPI
#OR using aur (on arch)
yay -S python-yummyanime

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'))

About

Yummy Anime website API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published