Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/luisgbr1el/goyabu

Easily fetch infos from Goyabu.com
https://github.com/luisgbr1el/goyabu

anime goyabu javascript node-js nodejs

Last synced: about 1 month ago
JSON representation

Easily fetch infos from Goyabu.com

Awesome Lists containing this project

README

        

# goyabu
A easy and simple way to get data from Goyabu.com.

GitHub forks
GitHub stars
GitHub license

Note that the package only catches the first result, so if you want the second season of **Shingeki no Kyojin**, for example, you need to put `Shingeki no Kyojin 2`.

- The package doesn't have a **error callback**.

# Install (with NPM)
```javascript
npm i goyabu
```

# Usage
```javascript
const goyabu = require("goyabu");

goyabu.animeSearch('dragon ball super').then(results => {
console.log(results)
});
```

The result will be:
```javascript
{
title: 'Dragon Ball Super ',
episodes: 131,
views: 7184,
alternativeName: 'Dragon Ball Super',
status: 'Completo',
genres: [
'Action',
'Adventure',
'Comedy',
'Super Power',
'Martial Arts',
'Fantasy',
'Shounen'
],
description: [
` Seven years after the events of Dragon Ball Z, Earth is at peace, and its people live free from any dangers lurking in the universe. However, this peace is short-lived; a sleeping evil awakens in the dark reaches of the galaxy: Beerus, the ruthless God of Destruction. Disturbed by a prophecy that he will be defeated by a "Super Saiyan God," Beerus and his angelic attendant Whis start searching the universe for this mysterious being. Before long, they reach Earth where they encounter Gokuu Son, one of the planet's mightiest warriors, and his similarly powerful friends. [Written by MAL Rewrite] `
],
coverUrl: 'https://goyabu.com/capas/dragon-ball-super-episodios.jpg'
}
```

# Author
luisgbr1el