2.1.0 • Published 22 days ago
@ocsoftware/sdk v2.1.0
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.