feat: add letterboxd + mal to the ratings response - #879
Merged
Conversation
Expose Letterboxd (0-5, films) and MyAnimeList (0-10, anime) audience scores (rating + link + votes) on the ratings responses, scoped per media type: - Movie ratings -> letterboxd + mal (new movieRatingsResponseSchema). - Show ratings -> mal only (new showRatingsResponseSchema); Letterboxd is films-only. - Season/episode ratings -> unchanged (shared ratingsResponseSchema). Keeps the shared schema clean and exports externalRatingsResponseSchema for the per-type extensions. Available under extended=all, mirroring tmdb/imdb.
vladjerca
force-pushed
the
feat/ratings-letterboxd-mal
branch
from
July 21, 2026 08:19
36bcf2e to
1c986c5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
letterboxdandmalblocks to the movie ratings response (RatingsResponse), available underextended=all, mirroring the existingtmdb/imdbblocks (rating+link+votes, all nullish).Both are
nullish(absent for titles without a score / non-anime). Scales differ per source, documented in the JSDoc, consistent with how the existing blocks already vary (trakt/tmdb/imdb 0-10, metascore/RT 0-100).The API serves these from dedicated rating columns; the OpenAPI spec regenerates from the schema on build.