@odyssoft/tmdb
Version:
Unofficial TMDB v3 api wrapper, built using TypeScript and node.js
23 lines (22 loc) • 1.13 kB
TypeScript
import * as Types from './types';
declare const WatchProviders: (apiKey: string) => {
/**
* Returns a list of all of the countries we have watch provider (OTT/streaming) data for.
* @param {object} options
* @returns Promise<WatchProvidersRegions>
*/
GetAvailableRegions: (options: Types.Options) => Promise<Types.WatchProvidersRegions>;
/**
* Returns a list of the watch provider (OTT/streaming) data we have available for movies. You can specify a watch_region param if you want to further filter the list by country.
* @param {object} options
* @returns Promise<WatchProviders>
*/
GetMovieProviders: (options?: Types.WatchProvidersOptions) => Promise<Types.WatchProviders>;
/**
* Returns a list of the watch provider (OTT/streaming) data we have available for TV series. You can specify a watch_region param if you want to further filter the list by country.
* @param {object} options
* @returns Promise<WatchProviders>
*/
GetTVProviders: (options?: Types.WatchProvidersOptions) => Promise<Types.WatchProviders>;
};
export default WatchProviders;