Need support? Click here
$ npm install anime-facts
$ yarn add anime-facts
const AnimeFact = require("anime-facts");
const api = new AnimeFact("YOUR TOKEN");
api.getFact().then((res) => console.log(res));
// Returns with:
{
id: 5,
fact: 'TEZUKA Osamu is the most famous manga artist in Japan.',
}
Functions | Description |
---|---|
getFact | Generate random anime facts. |
@LamkasDev for adding facts to prior database
@xMercyTheDeveloper for adding a fact to prior database
@Lioness100 for adding types and improving codes in version 2.2.6\