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
Release history Release notifications | RSS feed
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.tar.gz
(2.9 kB
view details)
Built Distributions
anilistpy-0.0.1.4-py3.8.egg
(10.5 kB
view details)
File details
Details for the file anilistpy-0.0.1.4.tar.gz
.
File metadata
- Download URL: anilistpy-0.0.1.4.tar.gz
- Upload date:
- Size: 2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c4eb480f5e53da0f15e801b59d3b6a253feaf50809cb5c8b65ae4b245468c60 |
|
MD5 | 6992e01cce0f34086b337d88874c32d2 |
|
BLAKE2b-256 | 7840560d7f50c7bc52214a18051263ec90722369379622e6e71b52c52870dd44 |
File details
Details for the file anilistpy-0.0.1.4-py3.8.egg
.
File metadata
- Download URL: anilistpy-0.0.1.4-py3.8.egg
- Upload date:
- Size: 10.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8fe0e2f009696038f7108830e81457c3b8f1ac300041b4476bc86e18358304 |
|
MD5 | c4a565418dba8edf3cbdd88f725f8716 |
|
BLAKE2b-256 | 0f950254cbc9614ea1ef355080f7648bfe07ba73926d33b62325a5121a853834 |
File details
Details for the file anilistpy-0.0.1.4-py3-none-any.whl
.
File metadata
- Download URL: anilistpy-0.0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a93f5b76ced9b1a86ddbe8e260e2caa647d0483236df351029b62b29b78cd7a2 |
|
MD5 | bee05eed16ceb82933e39841e2f8fd61 |
|
BLAKE2b-256 | e32d7961d1cb3d52c2072f69da169ea332fc0d735105b03492c4893a062cdb5e |