@ocsoftware/sdk
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

OCSoftware SDK

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.

Package Sidebar

Install

npm i @ocsoftware/sdk

Weekly Downloads

14

Version

2.3.0

License

none

Unpacked Size

3.62 MB

Total Files

6

Last publish

Collaborators

  • mdixon14717