0.0.1 • Published 3 years ago
@vincipit/vivi-node-sdk v0.0.1
Vincipit NodeJS SDK
SDK to use the router endpoints of the VIVI Server API
Features
Base request API
- GET | POST | PATCH | DELETE
Types:
- Router
- Bans
Methods:
- getRouters
- pushRouter
- getBans
Installation
Run:
// NPM
npm i @vincipit/vivi-node-sdk
// YARN
yarn add @vincipit/vivi-node-sdk
Usage
import Vivi from '@vincipit/vivi-node-sdk'
const api = new Vivi()
const init = async () => {
await api.pushRouter('example Name', 'https://fake-url.me')
}
init()
0.0.1
3 years ago