Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/notkyoyo/random-anime-quotes

Generate random anime quotes from a huge database.
https://github.com/notkyoyo/random-anime-quotes

anime anime-api anime-quotes anime-quotes-api anime-quotes-generator api hacktoberfest hacktoberfest-accepted hacktoberfest2022 quotes quotes-api random

Last synced: about 1 month ago
JSON representation

Generate random anime quotes from a huge database.

Awesome Lists containing this project

README

        

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](https://animu.ml)_

## Installation:

### NPM

```bash
$ npm install random-anime-quotes
```

### YARN

```bash
$ yarn add random-anime-quotes
```

## Usage:

```javascript
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

```bash
$ npm run lint
```

## Functions

| **Functions** | **Description** |
| :-----------: | ----------------------------- |
| getQuote | Generate random anime quotes. |