Skip to content

NotKyoyo/random-anime-quotes

Repository files navigation

Generate random anime quotes from a huge database

Powered by Animu

Access

First you'll need a API token which you can get by reading documentation. Click here

Installation:

NPM

$ npm install random-anime-quotes

YARN

$ yarn add random-anime-quotes

Usage:

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'
}

Linter

$ npm run lint

Functions

Functions Description
getQuote Generate random anime quotes.