Skip to main content

A simple library to help you fetch data from MyAnimeList.

Project description

malfetcher

A simple library to help you fetch data from MyAnimeList

Description

This library is aimed at people who might be interested in automatizing their anime library.

Getting Started

Dependencies

  • Python(tested on the latest ver.)
  • A MyAnimeList account
  • A MyAnimeList developer app

Installing

  • Clone this repo
git clone https://github.com/prochy-exe/malfetcher /path/to/desired/folder
  • Install it using pip
pip install malfetcher
  • Install it using pip locally
cd /path/to/desired/folder
pip install .
  • If you want to make modifications to the library install it in the edit mode:
cd /path/to/desired/folder
pip install -e .

Using the library

  • To import the library into your code use:
import malfetcher
  • When importing this library for the first time, you will be taken through the setup process

Setting up the MyAnilist developer app

  • When the setup process starts, you will be automatically taken to required pages. This process is really simple.
  • When asked for the Client ID, you will be taken to the account developer page.
  • If not logged in, log in first.
  • Then create a new client
  • Choose whatever name you fancy, and for the redirect URL use http://localhost:8888/auth
  • After you save the client, copy the ID and paste it into the terminal
  • After entering the ID you will be taken to an auth page, where you need to allow the app to access your account.
  • Afterwards you will be taken to a redirect page that will automatically send the token to the library.
  • After that the library is successfully set-up and ready for use.

Help

If you encounter any issues, feel free to open a new issue. If you have any new ideas or fixes, please open a pull request, they are more than welcome!

Version History

Acknowledgments

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

malfetcher-1.7.0.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

malfetcher-1.7.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file malfetcher-1.7.0.tar.gz.

File metadata

  • Download URL: malfetcher-1.7.0.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for malfetcher-1.7.0.tar.gz
Algorithm Hash digest
SHA256 8a7653c94a4bfa7d731f014dc3497e039200cda8b42cf6a28a7a1c9049e65362
MD5 1dc449381c6fe0c171a70a4cbe4ba033
BLAKE2b-256 760024f3d0a1339e391dbae5c1b19ca983a0d881fb8def7b4f135a8510b9fbae

See more details on using hashes here.

File details

Details for the file malfetcher-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: malfetcher-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for malfetcher-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dc9243d6cd8c5814395ea65476333623ecc7e443eeaf33d399b1caf4abd937c
MD5 9c0e4bc3aa5a2ab6027019d2ceb0a6df
BLAKE2b-256 f65830217419d9baec73023a8731f9a62f362a732cc0f153bb96389c2b377692

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