UNPKG

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.

16 lines (15 loc) 551 B
import { MangaParser, ISearch, IMangaInfo, IMangaResult, IMangaChapterPage } from '../../models'; declare class BRMangas extends MangaParser { readonly name = "BRMangas"; protected baseUrl: string; protected logo: string; protected classPath: string; fetchMangaInfo: (mangaId: string) => Promise<IMangaInfo>; fetchChapterPages: (chapterId: string) => Promise<IMangaChapterPage[]>; /** * * @param query Search query */ search: (query: string) => Promise<ISearch<IMangaResult>>; } export default BRMangas;