Libraries
Javascript
waifu.it
Generate Fact

Generate Fact

Generate random anime facts from a huge database.

Functions

FunctionTypeDescriptionRequired?
getFactfunctionThe search function to generate a random anime fact.Yes

Request Samples

import Client from "waifu.it";
 
// Replace <TOKEN> with your API Token
const api = new Client("<TOKEN>");
api.getFact().then((res) => console.log(res));

Response Schema

Content Type: application/json

{
"id": 5,
"fact": "TEZUKA Osamu is the most famous manga artist in Japan.",
}