sankaku-api
v1.0.3
Published
Promise based unofficial Sankaku Complex API
Downloads
10
Maintainers
Readme
Overview
Promise based unofficial Sankaku Complex API. No login needed.
Installation
npm i sankaku-api
Usage
const SANKAKU = require("sankaku-api")
let API = new SANKAKU("tamaki kotatsu")
API.search().then(res => {
console.log(res)
API.nextPage(res.meta.next).then(x => {
console.log(x)
})
})
Methods
search() - search sankaku (40 results)
nextPage() - load more images, next variable from serach is required