You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three new tools: get_similar, get_reviews, get_collection.get_similar
returns TMDB's algorithmic "similar titles" for a movie or TV show (distinct from
the editorial get_movie_recommendations); get_reviews returns user reviews
(author, their rating, the review text) for a movie or TV show; get_collection
returns a movie franchise/collection and all its parts in release order.
Richer detail lookups (no extra requests).get_movie now surfaces collection (the franchise a film belongs to — feed its id to get_collection)
and origin_country. get_tv now surfaces next_episode_to_air / last_episode_to_air (when the next / most-recent episode airs), a per-season seasons summary, homepage and type — all from the payload already fetched.
Fixed
get_watch_providers could return another region's providers. The result
is region-specific but was cached under an id-only key, so a second call for
the same title with a different region served the first region's data. The
region is now part of the cache key.
Internal
DRY: collapsed the movie/tv client method pairs (recommendations, similar,
genres, discover, watch providers, videos) into media-typed methods, and
extracted a tmdbCheck() helper in check:api. Raised test coverage
(clients/tmdb 76% → 87%, overall ~90%).