First you'll need a API token which you can get by reading documentation. Click here
$ npm install random-anime-quotes
$ yarn add random-anime-quotes
const AnimeQuote =require("random-anime-quotes");
const api = new AnimeQuote("YOUR TOKEN"); // The Animu API Token
api.getQuote().then((res) => console.log(res));
// @return with this:
{
_id: 3747,
quote: "I don't know everything. I just know what I know.",
anime: 'Nisemonogatari',
name: 'Tsubasa Hanekawa'
}
$ npm run lint
Functions | Description |
---|---|
getQuote | Generate random anime quotes. |