booru-getter
v0.0.2
Published
Module for retrieving images from Safebooru and Gelbooru
Downloads
3
Readme
Booru-Getter
###A Node.js module for retrieving search information or image urls from Safebooru and Gelbooru
###Usage
####Safebooru A worksafe booru.
const getter = require('booru-getter')
//Searching by tags
getter.get(1, 0, "brown_hair+-red*", (xml) =>{
//work with XML here.
}
//Retrieving a random image with matching tags
getter.getRandom("brown_hair+red_shirt+-dress*", (url)=>{
//do something with URL here
}
####Gelbooru A booru that contains NSFW images.
//Searching by tags
getter.getLewd(1, 0, "brown_hair+-red*", (xml) =>{
//work with XML here.
}
//Retrieving a random image with matching tags
getter.getRandomLewd("brown_hair+red_shirt+-dress*", (url)=>{
//do something with URL here
}