@nekohimebot/neko-api
v1.0.13
Published
Nekohime API
Downloads
391
Maintainers
Readme
neko-api
Full API Implementation inside NodeJS Module
More info at https://nkhm.xyz/
And you can upgrade your apikey to premium or VIP, you can see more details at https://nkhm.xyz/pricing
Installation
npm:
$ npm install @nekohimebot/neko-api
Simple to Use
CommonJs (CJS) syntax
const NekoAPI = require('@nekohimebot/neko-api');
ECMAScript Modules (ESM) syntax
import NekoAPI from '@nekohimebot/neko-api';
Example
const neko = new NekoAPI('ApiKEY');
// How to call the API
neko.[feature].[name](parameter)
.then(response => {
console.log(response);
})
.catch(error => {
console.error(error.message);
});
// Example of an API call
neko.stalking.npmjs("neko-api")
.then(response => {
console.log(response);
})
.catch(error => {
console.error(error.message);
});