Skip to main content

An unofficial API 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 *

result = charsearch("okabe rintarou")

print(result.title, result.url, result.image_url, sep="\n")

'''
Output:
Rintarou Okabe (岡部 倫太郎)
https://myanimelist.net/character/35252/Rintarou_Okabe
https://cdn.myanimelist.net/images/characters/6/122643.jpg
'''

API Documentation

List of properties and methods currently supported by animec.

charsearch()
├── .title
├── .url
├── .image_url

Credits

Author: DriftAsimov
GitHub: https://github.com/DriftAsimov
Language Used: Python

Contact Us

Mail: driftasimov@gmail.com
Discord: Drift Asimov#3338

Note: I do not own myanimelist or any imported module or api. I have just used them to extract the data.

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

animec-0.0.4.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

animec-0.0.4-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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