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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: yummyanime-0.0.9.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for yummyanime-0.0.9.tar.gz
Algorithm Hash digest
SHA256 0f3af8dedfd89689f76131b348eaa3cab28baadfb47fe74c110bff57807635f7
MD5 ebeb478e66f6cfb7cb227a18052ccdee
BLAKE2b-256 cb7ffdfd2e8e16b0537517d5e2a151ef7461a4edee7e8f3f4cf25e248a6853da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yummyanime-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for yummyanime-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d9224eb49862e66a7ebc8f93ed246304e11ca9fefc794b5aa272ee133736dbd5
MD5 e35fbb9b88beae19c4989795185b08fc
BLAKE2b-256 10b8af0b54d898c6d70f6028a6eb8398ca1b452a397898361959e6a3052c0310

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