1.0.0 • Published 3 years ago

@my-fuyuumi/fuyuumi-apijs v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Installation

npm install @my-fuyuumi/fuyuumi-api.js --save

Example

Async/Await example

const Neko = require('@my-fuyuumi/fuyuumi-api.js');

async function test() {
  console.log(await Neko("neko")); 
}
test();

async function test() {
  console.log(await Neko("endpoint")); // Returns the list of endpoints
}
test();

Promise example

const Neko = require("@my-fuyuumi/fuyuumi-api.js");

Neko("neko").then((res) => {
    console.log(res);
});

Neko("endpoint").then((res) => {
    console.log(res); // Returns the list of endpoints
});

Endpoints

SFW

FunctionDescription
nekoGet a URL of a neko image
slapGets a URL of a slap image/gif
patGet a URL of a pat image/gif
kissGet a URL of a kiss image/gif
hugGet a URL of a hug image/gif
kitsuneGet a URL of a fox girl image
patGet a URL of a pat image/gif
cryGet a URL of a cry image/gif
waifuGet a URL of a waifu image
smugGet a URL of a smug image
punchGet a URL of a punch image

Full Neko Love API documentation

Links