Collections
Retrieve movies and tv shows collection details from TMDB.
The CollectionsAPI provides access to collection metadata in TMDB, including top-level details,
translations, and available poster images.
import { TMDB } from "@lorenzopant/tmdb";
const tmdb = new TMDB("your-api-key");
tmdb.collections; // access methodsMethods
details()— Get the top level details of a collection by ID.translations()— Get the translations associated with a collection.images()— Get the posters associated with a collection.