streaming-availability
Version:
Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 60 countries!
42 lines (41 loc) • 1.47 kB
TypeScript
/**
* Streaming Availability API
* Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 60 countries!
*
* The version of the OpenAPI document: 4.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import * as runtime from '../runtime';
import type { Genre } from '../models/index';
export interface GetGenresRequest {
outputLanguage?: GetGenresOutputLanguageEnum;
}
/**
*
*/
export declare class GenresApi extends runtime.BaseAPI {
/**
* Get the list of supported genres.
* Get all Genres
*/
getGenresRaw(requestParameters: GetGenresRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Genre>>>;
/**
* Get the list of supported genres.
* Get all Genres
*/
getGenres(requestParameters?: GetGenresRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Genre>>;
}
/**
* @export
*/
export declare const GetGenresOutputLanguageEnum: {
readonly En: "en";
readonly Es: "es";
readonly Tr: "tr";
readonly Fr: "fr";
};
export type GetGenresOutputLanguageEnum = typeof GetGenresOutputLanguageEnum[keyof typeof GetGenresOutputLanguageEnum];