UNPKG

@tutkli/jikan-ts

Version:

Node.js wrapper for the Jikan API with built-in typings.

22 lines (21 loc) 669 B
import type { Genre, GenresFilter } from '../models'; import { BaseClient } from './base.client'; /** * **Genres Client** * * Client used to access the Genres Endpoints: * * See also: [Jikan Documentation](https://docs.api.jikan.moe/) */ export declare class GenresClient extends BaseClient { /** * Get Anime genres * @param filter Type of the desired genres */ getAnimeGenres(filter?: GenresFilter): Promise<import("../models").JikanResponse<Genre[]>>; /** * Get Manga genres * @param filter Type of the desired genres */ getMangaGenres(filter?: GenresFilter): Promise<import("../models").JikanResponse<Genre[]>>; }