1.0.0 • Published 4 years ago
waifu.pics-wrapper v1.0.0
waifu.pics
An unofficial API wrapper for Waifu.pics for easy to use.
Why?
- Easy to use
- Fast data response
- No external module
- 100% coverage of waifu.pics api
Category and endpoints
There are two categories of this API SFW and NSFW.
SFW Endpoints: waifu, neko, shinobu, megumin, bully, cuddle, cry, hug, awoo, kiss, lick, pat, smug, bonk, yeet, blush, smile, wave, highfive, handhold, nom, bite, glomp, slap, kill, kick, happy, wink
NSFW Endpoints: waifu, neko, trap, blowjob
(Note: waifu exists in two versions first one SFW and second one NSFW, if you call getNSFWImage and select endpoint to waifu it'll send NSFW waifu.)
Usage
const { getSFWImage } = require('waifu.pics-wrapper');
getSFWImage('waifu').then(result => {
console.log(result);
}).catch(e => console.log(e));License
Refer to the License file
1.0.0
4 years ago