/arm-server

📃 A service for mapping Anime ID's between AniList, AniDB, MAL, and Kitsu.

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

arm-server

This app uses data from anime-offline-database - fetching and updating itself every 24 hours.

Missing or duplicate entries

Some entries in the database are not mapped correctly due to inconsistent naming - the owner of anime-offline-database cannot fix them due to complexity. Therefore this service has manual rules that combines known failures.

You can help add rules by submitting a manual rule request.

API

Base URL: https://relations.yuna.moe

GET /api/ids?source={anilist|anidb|myanimelist|kitsu}&id={number}

interface Response {
  anilist?: number
  anidb?: number
  myanimelist?: number
  kitsu?: number
}

or a 404 if the it could not be found.

Development

  1. Clone the project
  2. Install dependencies - yarn
  3. Run database migrations - yarn migrate
  4. Download data (optional) - yarn fetch-data
  5. Start the server - yarn dev

If the database connection fails double check that your NODE_ENV is set to development.