@ocsoftware/sdk
v2.3.1
Published
OCS SDK for APIs and general typings.
Downloads
163
Readme
Set-up
Install @ocsoftware/sdk
:
npm install @ocsoftware/sdk
Usage
This is a simple example on how to use our SDK. You can overwrite the URL by setting a url
property in the setup.
import { sdk, setup } from '@ocsoftware/sdk';
setup({
token: 'YOUR_TOKEN',
accountId: 'YOUR_ACCOUNT'
});
sdk.Branches({}).then( response => console.log(response) );
All the documents for the SDK can be found in our documentation.