UNPKG

@odyssoft/tmdb

Version:

Unofficial TMDB v3 api wrapper, built using TypeScript and node.js

17 lines (16 loc) 605 B
import * as Types from './types'; export declare const Trending: (apiKey: string) => { /** * Get the trending people on TMDB. * @param {string} time_window * @returns Promise<TrendingPeople> */ People: (time_window?: Types.TimeWindow, options?: Types.PageOptions) => Promise<Types.TrendingPeopleResponse>; /** * Get the trending TV shows on TMDB. * @param {string} time_window * @returns Promise<TrendingShows> */ TV: (time_window?: Types.TimeWindow, options?: Types.PageOptions) => Promise<Types.TrendingShowsResponse>; }; export default Trending;