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 malhelper
- 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 is momentarily hosted using gevent. (If you have any worries, please see the token_getter.html source code.)
- 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
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
malfetcher-1.0.0a0.tar.gz
(22.2 kB
view hashes)
Built Distribution
Close
Hashes for malfetcher-1.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83a986f00b1e882ca5646ae1c408a832824cd1baba0ef9d461c050602a616d5e |
|
MD5 | 2404e99d792068f049aefff91d9ac273 |
|
BLAKE2b-256 | cd08b0414d124ef9b661726e4d7f6e65fced0e3132c2701e7b133eee4af77b06 |