Mika Scraper / AnimeFinder
Function: AnimeFinder()
AnimeFinder(
imageUrl
):Promise
<AnimeFinderResponse
>
Defined in: src/anime-finder/anime-finder.ts:48
Identifies an anime by analyzing an image URL using the AnimeFinder API.
Parameters
imageUrl
- Type:
string
- Description: The public URL of the image in JPG or PNG format. This image should depict a scene or character from an anime.
Returns
- Type:
Promise
<AnimeFinderResponse
> - Description: A structured response containing information about the identified anime or an error if the analysis fails.
Example
import { AnimeFinder } from 'mika-scraper';
async function identifyAnime(imageUrl: string) {
try {
const response = await AnimeFinder(imageUrl);
console.log(response);
} catch (error) {
console.error("Error identifying anime:", error);
}
}
identifyAnime('https://example.com/anime-image.jpg');
Last updated on