0.4.0 • Published 6 years ago
neko-chxn v0.4.0
Neko-chxn
This is the official neko-chxn.xyz nodejs wrapper. It is written in typescript, so all endpoints and responses are fully typed.
All endpoints return Promise<{ url: theUrl}>. You will need to handle this promise accordingly.
Usage
const neko = require('neko-chxn');
neko.blush().then(result => console.log(result));
// Output: { "url": "https://api.neko-chxn.xyz/v1/blush/output/blush_002.gif" }Current Endpoints
| Endpoint | Rating | Description |
|---|---|---|
| blush | SFW | Get a blush gif |
| cry | SFW | Get a crying gif |
| cuddle | SFW | Get a cuddle gif |
| dance | SFW | Get a dance gif |
| hug | SFW | Get a hug gif |
| kick | SFW | Get a kick gif |
| kiss | SFW | Get a kiss gif |
| love | SFW | Get a love gif |
| pat | SFW | Get a pat gif |
| punch | SFW | Get a punch gif |
| smirk | SFW | Get a smirk gif |
| tickle | SFW | Get a tickle gif |
| yell | SFW | Get a yell gif |
