An unofficial module to extract character data from myanimelist
Project description
Anime Character API
This is an unofficial API to extract an anime character data from myanimelist.
Currently, the API is very basic, but I will be adding a lot of stuff to easily extract data.
If you wish to see a feature, please raise an issue. We will surely work on it.
Installation and Usage
To install the library:
pip install animec
To import the library:
import animec
# OR
from animec import *
Example
Obtaining the character's image url
from animec import *
our_object = Character("okabe rintarou")
result = our_object.search()
title = result["title"]
image_url = result["image"]
link = result["url"]
print(f"Title: {title} \nImage Url: {image_url} \nLink: {link}")
API Documentation
List of properties and methods currently supported by animec.
Character(search_query)
Character.search()
Character.search()["title"]
Character.search()["image"]
Character.search()["url]
Author: DriftAsimov
GitHub: https://github.com/DriftAsimov
Language Used: Python
Note: I do not own myanimelist or any imported module or api. I have just used them to extract the data.
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
animec-0.0.3.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file animec-0.0.3.tar.gz
.
File metadata
- Download URL: animec-0.0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0449b13e5a645d03e3e83f385ba2182582803695e3721c8ef211c6178e91b017 |
|
MD5 | 5e453e03b23f3712482f3e9f02f686ef |
|
BLAKE2b-256 | 7f0a80ec5bbc7a4638613a143640181c7edefc6e9a45aa10bb17da6b4b0d8706 |
File details
Details for the file animec-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: animec-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06412ed4b508d3c7da4c19ea75e36fe5b2f6b521220aed0cfca9cbf9c0dd2a2 |
|
MD5 | 34040ce93eb6c7deb0fdd09646941db9 |
|
BLAKE2b-256 | 81c6175bf94b99c9d6e46d7d619d39538d45680c176f7288a1b4a2a0e6dc9a22 |