Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yummyanime-0.0.4-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

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

Hashes for yummyanime-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9705646fd69094106bcbc5d5854ff253891127723bd132f557e05223af322ffa
MD5 6f8883987ddf75bc5c7670f238bcc9c9
BLAKE2b-256 e519291c0dfca321cf267b58ef3354e6e97696e13b6c79360b921485825a9112

See more details on using hashes here.

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

Hashes for yummyanime-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 632d83f6660aa9b0937356916d9c50078d87602b475aae11a081c6539e6ab8de
MD5 8b7fb5f677b48ce6b028120f8cc2cdfd
BLAKE2b-256 a965cd154e27905cd1658dab195964ebe5447422656091723f17ca4e8bc86c48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page