Skip to main content

API wrapper for anilist.co

Project description

Anilistpy

An easy to use wrapper for anilist.co APIv2

pip install anilistpy

note: this wraper is in very early stage and more features are to come.

Documenation on the the gh-page

example 1

import anilistpy            # pip install anilistpy

id = 1                      #id of the anime 

anime = anilistpy.Anime(id)

print(anime.title())        #prints the romaji title of the anime
print(anime.episodes())     #prints the ammount of episodes of the anime
print(anime.description())  #prints the description
print(anime.genres())       #list of genres the anime falls under
print(anime.tags())         #dict of tags this anime has on anilist
print(anime.studios())      #name of studios involved

mid = 30013                 #id of manga

manga = anilistpy.Manga(mid)

print(manga.title())        #prints the romaji title of the manga
print(manga.chapters())     #prints the ammount of chapters in the manga
print(manga.description())  #prints the description
print(manga.genres())       #list of genres the manga falls under
print(manga.tags())         #dict of tags this manga has on anilist
print(manga.staffs())       #name of staffs involved

example 2

import anilistpy

result = anilistpy.animeSearch("cowboy bebop") # search query

print(result.id(0)) # id(x) where id is from the xth result from the search query
print(result.title(0)) # title(x) where title is from the xth result from the search query

result = anilistpy.mangaSearch("chainsaw man") # search query

print(result.id(0)) # id(x) where id is from the xth result from the search query
print(result.title(0)) # title(x) where title is from the xth result from the search query

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

anilistpy-0.0.1.4.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distributions

anilistpy-0.0.1.4.2-py3.8.egg (10.9 kB view details)

Uploaded Source

anilistpy-0.0.1.4.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file anilistpy-0.0.1.4.2.tar.gz.

File metadata

  • Download URL: anilistpy-0.0.1.4.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for anilistpy-0.0.1.4.2.tar.gz
Algorithm Hash digest
SHA256 80f70701966b3c3362f30e6f2247c00548ecca69b813e58d26fd7046ed8db326
MD5 cfba214b5c22a550de753059edc53583
BLAKE2b-256 2573f3fbc47e258ec5e8b11acbffed4c23000f43bd695d0c85694f8f360ebe6c

See more details on using hashes here.

File details

Details for the file anilistpy-0.0.1.4.2-py3.8.egg.

File metadata

  • Download URL: anilistpy-0.0.1.4.2-py3.8.egg
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for anilistpy-0.0.1.4.2-py3.8.egg
Algorithm Hash digest
SHA256 4e800475c18c11f623de3845bab502be92fff390c6d6e38c117271620fbe0b9b
MD5 91ecdc02aefeb9b839c9414a52615ffa
BLAKE2b-256 9fd8b0fb3f9e1cdfb11fb71f2d7e21d20d81710a248b203d6fb51978a0512ebc

See more details on using hashes here.

File details

Details for the file anilistpy-0.0.1.4.2-py3-none-any.whl.

File metadata

  • Download URL: anilistpy-0.0.1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for anilistpy-0.0.1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 de139507157480e5834f4bd0f0990e1c183db1082e663806f38187cb32acecfa
MD5 32d998845a57f2d9c76683a3dc72b5ca
BLAKE2b-256 c6d2b32352682be4b1b10fa3f3361f538343b2ff67c4ad42f9853e3f052ae6da

See more details on using hashes here.

Supported by

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