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

2.3.1 • 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

10

Version

2.3.1

License

none

Unpacked Size

4.22 MB

Total Files

50

Last publish

Collaborators

  • d-magic
  • mdixon14717