45 lines
716 B
Plaintext
45 lines
716 B
Plaintext
|
# @name AniList Search
|
||
|
|
||
|
POST https://graphql.anilist.co
|
||
|
Accept: applicaton/json
|
||
|
X-REQUEST-TYPE: Graphql
|
||
|
|
||
|
query ($search: String!, $listType: MediaType) {
|
||
|
Page (page: 1, perPage: 100) {
|
||
|
pageInfo {
|
||
|
total
|
||
|
currentPage
|
||
|
lastPage
|
||
|
hasNextPage
|
||
|
perPage
|
||
|
}
|
||
|
media (search: $search, type: $listType) {
|
||
|
id
|
||
|
idMal
|
||
|
title {
|
||
|
romaji
|
||
|
english
|
||
|
native
|
||
|
}
|
||
|
description
|
||
|
coverImage {
|
||
|
large
|
||
|
}
|
||
|
season
|
||
|
seasonYear
|
||
|
status
|
||
|
episodes
|
||
|
nextAiringEpisode{
|
||
|
airingAt
|
||
|
timeUntilAiring
|
||
|
episode
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
"search": "dan-da-dan",
|
||
|
"listType": "ANIME"
|
||
|
}
|