mirror of
https://github.com/shafat-96/anime-mapper
synced 2026-04-17 15:51:45 +00:00
Initial commit
This commit is contained in:
25
src/constants/api-constants.js
Normal file
25
src/constants/api-constants.js
Normal file
@@ -0,0 +1,25 @@
|
||||
export const ANILIST_URL = 'https://graphql.anilist.co';
|
||||
export const ANILIST_QUERY = `
|
||||
query ($id: Int) {
|
||||
Media(id: $id, type: ANIME) {
|
||||
id
|
||||
title {
|
||||
romaji
|
||||
english
|
||||
native
|
||||
userPreferred
|
||||
}
|
||||
episodes
|
||||
synonyms
|
||||
}
|
||||
}
|
||||
`;
|
||||
export const HIANIME_URL = 'https://hianimez.to';
|
||||
export const ANIZIP_URL = 'https://api.ani.zip/mappings';
|
||||
|
||||
export default {
|
||||
ANILIST_URL,
|
||||
ANILIST_QUERY,
|
||||
HIANIME_URL,
|
||||
ANIZIP_URL
|
||||
};
|
||||
Reference in New Issue
Block a user