omeku-api
Installation
npm i --save omeku-api
Wrapper for https://omeku.glitch.me
Api
Endpoint | Description |
---|---|
pat |
Get a URL of a pat gif |
neko |
Get a URL of a neko image |
kiss |
Get a URL of a kiss gif |
hug |
Get a URL of a hug gif |
lick |
Get a URL of a lick gif |
Examples
Example for an Async/Await function:
const OmekuClient = ;const omeku = ; { console;} ;
will return:
url: 'https://omeku.glitch.me/hug/hug_1.gif'
Example for a Promise:
const OmekuClient = ;const omeku = ; omekuapi;
will return:
url: 'https://omeku.glitch.me/neko/neko_1.png'