1.0.0 • Published 4 years ago

@teav4/yande.re v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Installation

npm install yande-api

Usage

const yande = require("yande-api")

const limit = 10000 // limit post 

const tags = ["nipples"] // require tag

let filter = {
    tags: ["kimono"], 
    score: 100,
    fileSize: 0,
    width: 3000, // minimum width and height
    height: 2000,
    hasChildren: false,
    rating: "q"
}

yande.getPost(tags, limit, filter, (post) => {
    console.log("https://yande.re/post/show/"+post.id)
})
1.0.0

4 years ago