Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/notkyoyo/random-anime-quotes
- Owner: NotKyoyo
- License: agpl-3.0
- Created: 2021-07-04T11:14:09.000Z (over 3 years ago)
- Default Branch: production
- Last Pushed: 2022-10-04T06:28:14.000Z (about 2 years ago)
- Last Synced: 2024-10-30T18:20:13.704Z (about 2 months ago)
- Topics: anime, anime-api, anime-quotes, anime-quotes-api, anime-quotes-generator, api, hacktoberfest, hacktoberfest-accepted, hacktoberfest2022, quotes, quotes-api, random
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/random-anime-quotes
- Size: 42 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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 Tokenapi.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. |