Skip to main content

A simple library to help you fetch data from AniList.

Project description

alfetcher

A simple library to help you fetch data from AniList

Description

Welcome to my first python project! This library is aimed at people who might be interested in automatizing their anime library.

Getting Started

Dependencies

  • Python(tested on the latest ver.)
  • An AniList account
  • An AniList developer app

Installing

  • Clone this repo
git clone https://github.com/prochy-exe/alfetcher /path/to/desired/folder
  • Install it using pip
pip install alfetcher
  • 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 alfetcher
  • When importing this library for the first time, you will be taken through the setup process

Setting up the AniList 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

Huge thanks to AniList team for their great page and database:

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

alfetcher-1.6.0.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

alfetcher-1.6.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file alfetcher-1.6.0.tar.gz.

File metadata

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

File hashes

Hashes for alfetcher-1.6.0.tar.gz
Algorithm Hash digest
SHA256 2e066865a00936d5408289cbb6f4a8dac3d8c7149512bde3958d0ebeda4d8ef2
MD5 130ac02a964cce5f31106b1dc84a8947
BLAKE2b-256 4bb0e63eb7c41e37332f96d41ec9b6023575959f70beee364da02d01d6513333

See more details on using hashes here.

File details

Details for the file alfetcher-1.6.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for alfetcher-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c956b81fc84c8ce39e068384a0954e934369bd175aec78b7c794f0536237a02
MD5 2cd6674bb4e2e633dc921f7ad2c1f81b
BLAKE2b-256 e1e6585b0da4f29e8e5992d1e5f6039a6c713c84a5247a17b6725025a5c31b97

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