@odyssoft/tmdb
Version:
Unofficial TMDB v3 api wrapper, built using TypeScript and node.js
55 lines (54 loc) • 2.21 kB
TypeScript
import * as Types from '../types';
export declare const TVSeason: (apiKey: string, tv_id: number) => {
/**
* Get the TV season details by id.
* @param {number} season
* @param {object} options
* @returns Promise<TVSeasonDetails>
*/
GetDetails: (season: number, options?: Types.AppendOptions<Types.SeasonsAppend>) => Promise<Types.TVSeasonDetails>;
/**
* Get the aggregate credits for TV season.
* This call differs from the main credits call in that it does not only return the season credits, but rather is a view of all the cast & crew for all of the episodes belonging to a season.
* @param {number} season
* @param {options} options
* @returns Promise<TVSeasonAggregateCredits>
*/
GetAggregateCredits: (season: number, options?: Types.Options) => Promise<Types.TVSeasonAggregateCredits>;
/**
* Get the credits for TV season.
* @param {number} season
* @param {options} options
* @returns Promise<TVSeasonCredits>
*/
GetCredits: (season: number, options?: Types.Options) => Promise<Types.TVSeasonCredits>;
/**
* Get the external ids for a TV season. We currently support the following external sources.
* @param {number} season
* @param {options} options
* @returns Promise<TVExternalIds>
*/
GetExternalIds: (season: number, options?: Types.Options) => Promise<Types.TVExternalIds>;
/**
* Get the images that belong to a TV season.
* @param {number} season
* @param {options} options
* @returns Promise<TVSeasonImages>
*/
GetImages: (season: number, options?: Types.Options) => Promise<Types.TVSeasonImages>;
/**
*
* @param {number} season
* @param {options} options
* @returns Promise<TVSeasonTranslations>
*/
GetTranslations: (season: number, options?: Types.Options) => Promise<Types.TVSeasonTranslations>;
/**
* Get the videos that have been added to a TV season.
* @param {number} season
* @param {options} options
* @returns Promise<TVSeasonVideo>
*/
GetVideos: (season: number, options?: Types.Options) => Promise<Types.TVSeasonVideos>;
};
export default TVSeason;