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
- 1.8.0
- 1.7.0
- update_entry: read token from config
- rewatch
- repeating support for update_entry
- add a feature that allows specifying episodes from another season
- fix a bug that marks anime as planning while having an episode watched
- introduce a function that returns list of all seasons
- add time before opening the browser
- add url tooltip
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
Acknowledgments
Huge thanks to AniList team for their great page and database:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alfetcher-1.8.0.tar.gz.
File metadata
- Download URL: alfetcher-1.8.0.tar.gz
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a48c6dee711f38cd9ea80b0f215dd1ee3fadfe93cc99037860b10c7a3a5dedef
|
|
| MD5 |
494983a61b788b45977af950c34ee5f7
|
|
| BLAKE2b-256 |
d0a40d7eca08753bff3b7b282ef1ddf9e986a0e644945ef9d98bfadc473bc16e
|
Provenance
The following attestation bundles were made for alfetcher-1.8.0.tar.gz:
Publisher:
publish.yml on prochy-exe/alfetcher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alfetcher-1.8.0.tar.gz -
Subject digest:
a48c6dee711f38cd9ea80b0f215dd1ee3fadfe93cc99037860b10c7a3a5dedef - Sigstore transparency entry: 210353522
- Sigstore integration time:
-
Permalink:
prochy-exe/alfetcher@b391ef12c3d55bc9d6c2a18b54f041f7a5d8087a -
Branch / Tag:
refs/tags/v1.8.0 - Owner: https://github.com/prochy-exe
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b391ef12c3d55bc9d6c2a18b54f041f7a5d8087a -
Trigger Event:
push
-
Statement type:
File details
Details for the file alfetcher-1.8.0-py3-none-any.whl.
File metadata
- Download URL: alfetcher-1.8.0-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af2828447b379ce763ba50644e8c2e2f60f8a1c0946a15e324752a62c8892883
|
|
| MD5 |
3287c3a8e84695622942aecd31af3ef2
|
|
| BLAKE2b-256 |
fe3324d090dd540651eac0d952b3a68f02b061d9204c37fc6a8cd9328e64f7a7
|
Provenance
The following attestation bundles were made for alfetcher-1.8.0-py3-none-any.whl:
Publisher:
publish.yml on prochy-exe/alfetcher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alfetcher-1.8.0-py3-none-any.whl -
Subject digest:
af2828447b379ce763ba50644e8c2e2f60f8a1c0946a15e324752a62c8892883 - Sigstore transparency entry: 210353524
- Sigstore integration time:
-
Permalink:
prochy-exe/alfetcher@b391ef12c3d55bc9d6c2a18b54f041f7a5d8087a -
Branch / Tag:
refs/tags/v1.8.0 - Owner: https://github.com/prochy-exe
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b391ef12c3d55bc9d6c2a18b54f041f7a5d8087a -
Trigger Event:
push
-
Statement type: