Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/luisgbr1el/goyabu
- Owner: luisgbr1el
- License: mit
- Created: 2022-01-20T18:42:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T22:30:33.000Z (almost 3 years ago)
- Last Synced: 2024-10-07T22:38:15.173Z (3 months ago)
- Topics: anime, goyabu, javascript, node-js, nodejs
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goyabu
A easy and simple way to get data from Goyabu.com.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