fuyuumi-api.js
v1.0.7
Published
Lightweight JavaScript wrapper for the https://my.fuyuumi/ API
Readme
Installation
npm installfuyuumi-api.js --saveExample
Async/Await example
const Neko = require('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("fuyuumi-api.js");
Neko("neko").then((res) => {
console.log(res);
});
Neko("endpoint").then((res) => {
console.log(res); // Returns the list of endpoints
});Endpoints
SFW
| Function | Description |
| -------- | ----------- |
| neko | Get a URL of a neko image |
| slap | Gets a URL of a slap gif |
| pat | Get a URL of a pat gif |
| kiss | Get a URL of a kiss gif |
| hug | Get a URL of a hug gif |
| disgust | Get a URL of a disgust gif |
| pat | Get a URL of a pat gif |
| cry | Get a URL of a cry gif |
| smug | Get a URL of a smug gif |
| punch | Get a URL of a punch gif |
| bored | Get a URL of a bored gif |
| banghead | Get a URL of a banghead gif |
| blush | Get a URL of a blush gif |
| bite | Get a URL of a bite gif |
| happy | Get a URL of a happy gif |
| eat | Get a URL of a eat gif |
| angry | Get a URL of a angry gif |
| confused | Get a URL of a confused gif |
| deredere | Get a URL of a deredere gif |
| smile | Get a URL of a smile gif |
| sleep | Get a URL of a sleep gif |
| spank | Get a URL of a spank gif |
| scream | Get a URL of a scream gif |
| shrug | Get a URL of a shrug gif |
| sad | Get a URL of a sad gif |
| yandere | Get a URL of a yandere gif |
Full Neko Love API documentation
