Getting results by exact MAL / AniList ID #1791
Unanswered
aaron-r-campbell
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Matching shows by MAL or AniList ID has been a pretty long-standing request, especially for anyone building wrapper scripts.
While working on the feature to show the release year in search results, I noticed that you can also return
malIdandallAnimeIdfields for each result. Unfortunately, it doesn't seem possible to query by these directly (although I didn't look too deeply), but this enables two-step process for getting an exact show by ID: query MAL or AniList first to get the show title, run a search with that title, and then filter the results on your end by ID to get a guaranteed exact match.For reference on this issue and others, I'll include an API schema dump here:
Click here to expand the schema
If you want to explore the fields visually, you can paste the full contents into the Change Schema SDL tab on https://apis.guru/graphql-voyager.
Beta Was this translation helpful? Give feedback.
All reactions