0.0.5 âĸ Published 4 years ago
gogoanime-data v0.0.5
Gogoanime webscraper
A simple webscraper providing you all the available content on https://gogoanime.pro.
đšī¸ Usage
Step 1: npm install gogoanime-data
or yarn add gogoanime-data
Installing the NPM package into your project.
Step 2: import { search } from 'gogoanime-data'
Simply importing the components you need. See the documentation for an overview of all the available components.
Step 3: search('boku').then(data => console.log(data))
Call the search()
method with a query: string
as paramerter (the name of the anime you want to search). Play around with other components, see the documentation for an overview of all the available components.
đī¸ API documentation
search([query]) => Promise
The search()
method takes in a query
as paramerter (the name of the anime you want to search) and outputs a Promise containing the data (all the anime found) or an error.