node-myanimelist
Version:
Node.js wrappers for MAL.
21 lines (20 loc) • 632 B
TypeScript
/**
* # Season
*
* #### For more info visit <a href="https://jikan.docs.apiary.io/#reference/0/season" target="_blank">https://jikan.docs.apiary.io</a>
*
* ### Get Season
* Anime of the specified season
* ```js
* Jikan.season(2018, "winter");
* ```
* **Posible seasons**: ``summer`` ``spring`` ``fall`` ``winter ``
*/
export declare class Season {
/** @ignore */
private baseUrl;
constructor();
info(year: number, season: SeasonType): Promise<any>;
}
export declare type SeasonType = "summer" | "spring" | "fall" | "winter";
export declare function season(year: number, season: SeasonType): Promise<any>;