better-trakt
Version:
A Trakt.tv client with native Typescript support and quality of life features
22 lines • 649 B
TypeScript
import { ApiConfig, ApiNamespace } from '../client';
import { Language } from '../trakt';
import { ApiResponse } from '../utils';
/**
* Languages api namespace
*/
export declare class Languages implements ApiNamespace {
config: ApiConfig;
constructor(config: ApiConfig);
/**
* Get a list of all movie langauges, including names and codes.
* @returns
*/
listMovies(): Promise<ApiResponse<Language[]>>;
/**
* Get a list of all show langauges, including names and codes.
* @returns
*/
listShows(): Promise<ApiResponse<Language[]>>;
private listLanguages;
}
//# sourceMappingURL=index.d.ts.map