Const
export const GET_MANGA_BY_IDS = `
query ($ids: [Int]) {
Page(perPage: 50) {
pageInfo {
total
currentPage
lastPage
hasNextPage
perPage
}
media(id_in: $ids, type: MANGA) {
id
title {
romaji
english
native
}
synonyms
description
format
status
chapters
volumes
countryOfOrigin
source
coverImage {
large
medium
}
genres
tags {
id
name
category
}
startDate {
year
month
day
}
}
}
}
`;
Query to fetch multiple manga by their IDs in a single request. Can fetch up to 50 manga at once.