3Cplus SDK JS
A SDK used internally to contact the api and socket of the 3cplusv2 exposing a consistent and reusable interface.
Installation
yarn add 3cplusv2-sdk-js --save
Usage
// The constructor receives the same options as axios.createconst sdk = baseURL: "https://app.3c.fluxoti.com" # Http Apisdk # Realtime integrationconst socket = sdk socketsocketsocket
All available api endpoints are under .vX()
, separated by sections. Each method return an axios promise.
Please refer to the Api Documentation for more info about the conventions of the request parameters, responses and errors.