Skip to content

An anime database mainly collecting and analyzing ratings from several famous websites.

Notifications You must be signed in to change notification settings

LovEveRv/anime-rating-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anime Rating DB

An anime database mainly collecting and analyzing ratings from several famous websites.

Home page: https://imagasaikou.cn/animeratingdb

Wiki page: https://imagasaikou.cn/animeratingdb/wiki

This website is still under development. For more details, you can check the wiki page.

Usage

Updater

If you want to build your own database:

pip3 install -r requirements.txt
python3 updater.py

You can use some console arguments to fit your own need:

usage: updater.py [-h] [--jikan JIKAN] [--jikan_use_api_pool]
                  [--jikan_api_pool JIKAN_API_POOL] [--delay DELAY]
                  [--interval INTERVAL] [--checkpoint CHECKPOINT]

optional arguments:
  -h, --help            show this help message and exit
  --jikan JIKAN         The URL of Jikan api
  --jikan_use_api_pool  Enable Jikan api pool
  --jikan_api_pool JIKAN_API_POOL
                        Jikan api url pool, use space to divide urls
  --delay DELAY         Delay seconds for requests
  --interval INTERVAL   Update interval (seconds)
  --checkpoint CHECKPOINT
                        File path to checkpoint (all.tmp.json).

Also, you can customize your own updater using the codes under ./fetch/ and ./analyze/.

ID-Mapping

If you want to use the ID-mapping:

# a python example
import requests

url = 'https://raw.githubusercontent.com/LovEveRv/anime-rating-db/master/id.mapping.json'
response = requests.get(url)
mapping = response.json()

Data format

Root

Dict<Int, Anime>

Anime
Field Type Nullable Description
mal Int No ID of MyAnimeList
anidb Int Yes ID of AniDB
anilist Int Yes ID of AniList
ann Int Yes ID of AnimeNewsNetwork
bgm Int Yes ID of Bangumi (May be wrong)
anikore Int Yes ID of Anikore (May be wrong)

Thanks

About

An anime database mainly collecting and analyzing ratings from several famous websites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages