anime-search
Version:
An anime search engine that scrapes data from famous anime sites to find your favorite anime.
18 lines (17 loc) • 506 B
TypeScript
type NameLike = string | (() => string);
interface Res {
name: string;
code: number;
thumbnail: string;
url: string;
platform: "https://zoro.to";
}
interface NotFound {
code: number;
message: string;
}
declare function getAnimeFromZoro(animeName: NameLike): Promise<Res | NotFound>;
declare function animeSearch(animeName: NameLike): Promise<Res | NotFound>;
export default animeSearch;
export { getAnimeFromZoro, Res, NameLike, NotFound };