Skip to content

My Anime List/Shikimori to Anilibria and vice versa ID conversion database.

License

Notifications You must be signed in to change notification settings

qt-kaneko/MALibria

Repository files navigation

MALibria

The database is updated once every day.

How to use?

Fetch up-to-date database:

let dbResponse = await fetch(`https://raw.githubusercontent.com/qt-kaneko/MALibria/db/mapped.json`);
let db = await dbResponse.json();

To get My Anime List/Shikimori ID from Anilibria ID:

let id = db.find(title => title[`anilibria_id`] === YOUR_ID)?.[`myanimelist_id`];

To get Anilibria ID from My Anime List/Shikimori ID:

let id = db.find(title => title[`myanimelist_id`] === YOUR_ID)?.[`anilibria_id`];