Latest

Get the newest movie ID.

This is the most recent movie that has been added to TMDB. This is a live response will continuously change as new movies are added.

tmdb.movies.latest(): Promise<MovieDetails>;

Reference

Example

const result = await tmdb.movie.latest();

Types

export type MovieDetails = {
    adult: boolean;
    backdrop_path: string | null;
    belongs_to_collection: Collection | null;
    budget: number;
    genres: Genre[];
    homepage: string | null;
    id: number;
    imdb_id: string | null;
    origin_country: string[];
    original_language: string;
    original_title: string;
    overview: string | null;
    popularity: number;
    poster_path: string | null;
    production_companies: ProductionCompany[];
    production_countries: ProductionCountry[];
    release_date: string; // ISO format (YYYY-MM-DD)
    revenue: number;
    runtime: number | null; // Some movies have no runtime set
    spoken_languages: SpokenLanguage[];
    status: string;
    tagline: string | null;
    title: string;
    video: boolean;
    vote_average: number;
    vote_count: number;
};