71 lines
1.1 KiB
Plaintext
71 lines
1.1 KiB
Plaintext
|
# @name AniList MediaList User Query
|
||
|
|
||
|
POST https://graphql.anilist.co
|
||
|
Accept: applicaton/json
|
||
|
X-REQUEST-TYPE: Graphql
|
||
|
|
||
|
query(
|
||
|
$page: Int
|
||
|
$perPage: Int
|
||
|
$userId: Int
|
||
|
$listType: MediaType
|
||
|
$status: MediaListStatus
|
||
|
) {
|
||
|
Page(page: $page, perPage: $perPage) {
|
||
|
pageInfo {
|
||
|
total
|
||
|
perPage
|
||
|
currentPage
|
||
|
lastPage
|
||
|
hasNextPage
|
||
|
}
|
||
|
mediaList(userId: $userId, type: $listType, status: $status) {
|
||
|
id
|
||
|
mediaId
|
||
|
userId
|
||
|
media {
|
||
|
id
|
||
|
idMal
|
||
|
title {
|
||
|
romaji
|
||
|
english
|
||
|
native
|
||
|
}
|
||
|
description
|
||
|
coverImage {
|
||
|
large
|
||
|
}
|
||
|
season
|
||
|
seasonYear
|
||
|
episodes
|
||
|
}
|
||
|
status
|
||
|
notes
|
||
|
progress
|
||
|
score
|
||
|
repeat
|
||
|
user {
|
||
|
id
|
||
|
statistics {
|
||
|
anime {
|
||
|
count
|
||
|
statuses {
|
||
|
status
|
||
|
count
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
{
|
||
|
"page": 1,
|
||
|
"perPage": 20,
|
||
|
"userId": 413504,
|
||
|
"listType": "ANIME",
|
||
|
"status": "CURRENT"
|
||
|
}
|