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