contentapi.ts
Version:
Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.
12 lines (11 loc) • 557 B
TypeScript
import { MangaParser, ISearch, IMangaInfo, IMangaResult, IMangaChapterPage } from '../../models';
declare class Mangapark extends MangaParser {
readonly name = "Mangapark";
protected baseUrl: string;
protected logo: string;
protected classPath: string;
fetchMangaInfo: (mangaId: string, ...args: any) => Promise<IMangaInfo>;
fetchChapterPages: (chapterId: string, ...args: any) => Promise<IMangaChapterPage[]>;
search: (query: string, page?: number, ...args: any[]) => Promise<ISearch<IMangaResult>>;
}
export default Mangapark;