Skip to content

waifu.js utilizes the https://waifu.pics API to return high quality sfw and nsfw pictures of waifu's

License

Notifications You must be signed in to change notification settings

MattPlays/waifu.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests

@mattplays/waifu.js

@mattplays/waifu.js is an unoffical wrapper that utilizes the waifu.pics API to return high quality sfw and nsfw pictures of waifu's

Installation

npm i @mattplays/waifu.js

Usage

Valid Type Endpoints are

sfw, nsfw

Valid SFW Endpoints are:

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, poke, dance, cringe

Valid NSFW Endpoints are:

waifu, neko, trap, blowjob

const { get, getMany } = require("@mattplays/waifu.js");
get("sfw", "waifu").then((data) => {
  console.log(url);
  /*
        {
            "url": "https://i.waifu.pics/Tj6Wzwo.png"
        }
    */
});
getMany("sfw", "pat").then((data) => {
  console.log(data);
  /*
    {
        "files": 
            [
                "https://i.waifu.pics/qUY7BBo.jpg"
            ]
    }
    */
});

License

@mattplays/waifu.js is Licensed under the MIT License.

Any and all data returned from this package is hereby owned by waifu.pics and leaves me under no obligation to take responsibility for the images returned.

Any and all complaints/issues or requests should be made directly to wafiu.pics.

About

waifu.js utilizes the https://waifu.pics API to return high quality sfw and nsfw pictures of waifu's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published