Generate Fact
Generate random anime Quote from a huge database.
Functions
Function | Type | Description | Required? |
---|---|---|---|
getQuote | function | The search function to generate a random anime quote. | Yes |
Request Samples
import Client from "waifu.it";
// Replace <TOKEN> with your API Token
const api = new Client("<TOKEN>");
api.getQuote().then((res) => console.log(res));
Response Schema
Content Type: application/json
{
"id": 5,
"quote": "Even children are forced to grow up in the face of pain.",
"author": "Pain",
"anime": "Naruto"
}