2.0.1 • Published 7 years ago

booru-fetcher v2.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

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
}