Skip to content

Instantly share code, notes, and snippets.

@ci7lus
Created February 22, 2022 07:23
Show Gist options
  • Save ci7lus/8217822181f4b55c22ff5a19a30231da to your computer and use it in GitHub Desktop.
Save ci7lus/8217822181f4b55c22ff5a19a30231da to your computer and use it in GitHub Desktop.
Annict GQL research
query {
user(username: "kokoro") {
activities(first: 10) {
edges {
annictId,
action,
node {
__typename
... on Status {
work {
annictId,
title,
malAnimeId,
}
}
... on Record {
work {
annictId,
title,
malAnimeId
}
}
}
}
}
}
}
query {
user(username: "kokoro") {
works(state: WATCHING, first: 1) {
nodes {
annictId,
malAnimeId,
title,
noEpisodes,
episodes {
nodes {
title,
viewerDidTrack,
sortNumber,
records(first: 1) {
nodes {
createdAt
}
}
},
pageInfo {
hasNextPage,
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment