added AniList GET REST items
This commit is contained in:
44
rest/AniTrack/Get Items/AniList Search.http
Normal file
44
rest/AniTrack/Get Items/AniList Search.http
Normal file
@ -0,0 +1,44 @@
|
||||
# @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"
|
||||
}
|
Reference in New Issue
Block a user