UNPKG

neko-love

Version:
61 lines (43 loc) 1.07 kB
# Neko Love API This package is an unofficial wrapper to easly get images from neko-love.xyz! ## Installation ```sh npm install neko-love --save ``` ## Example ```js const Neko = require("neko-love"); const client = new Neko.Client(); client.kiss().then((url) => { console.log(url); // https://neko-love.xyz/v1/kiss/neko-love_kiss_24.jpg }); client.cry().then((url) => { console.log(url); // https://neko-love.xyz/v1/cry/neko-love-cry_20.gif }); // You can also make the calls yourself client.get("cry").then((data) => { console.log(data.url); // https://neko-love.xyz/v2/blur/1587970389017-1587970389017.png }); ``` ## Endpoints ### Random Images #### SFW * neko * kitsune * pat * hug * waifu * cry * kiss * slap * smug * punch #### NSFW * nekolewd [Full Neko Love API documentation](https://docs.neko-love.xyz/) ## Links * [Website](https://neko-love.xyz) * [Documentation](https://docs.neko-love.xyz/) * [Discord](https://discord.gg/byThR3v) * [Github (source)](https://github.com/Androz2091/neko-love) * [NPM](https://npmjs.com/neko-love)