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.7.tar.gz (12.9 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.7-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file yummyanime-0.0.7.tar.gz.

File metadata

  • Download URL: yummyanime-0.0.7.tar.gz
  • Upload date:
  • Size: 12.9 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.7.tar.gz
Algorithm Hash digest
SHA256 2e9ef0458a392b8e62baf79b00a029fc8681f469d3129523be0b8970ecc25730
MD5 771c76eebf1d14c645a2f3df219dd07f
BLAKE2b-256 f2a7cde22f6ca4a38c9c2fa3b724ab92ef9513e589e89e3264db30f53b39aa98

See more details on using hashes here.

File details

Details for the file yummyanime-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: yummyanime-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 16.8 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 068d02c57cac5127a3785075db5e85a40c94da0d7ca9abdcd4bafd5c539f41e7
MD5 84b2bd68b127c9480ba61377d6a12e32
BLAKE2b-256 c60be25dafa7215f40252c36d6d8b4d21f0358c1142b1f71722b5afab0342989

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