@integrationos/node-beta
v1.0.6
Published
Node SDK for IntegrationOS Unified API
Downloads
2
Readme
@integrationos/node-sdk
The IntegrationOS library for Node.js provides convenient access to the IntegrationOS API from applications written in server-side JavaScript.
Install
Using npm:
npm i @integrationos/node
Using yarn:
yarn add @integrationos/node
Configuration
To use the library you must provide an API key and Connection key. Both are located in the IntegrationOS dashboard.
import { IntegrationOS } from "@integrationOS/node";
const integrate = new IntegrationOS("sk_live_1234");
const response = await integrate
.customers("live::xero::acme-inc")
.get("cus_OT3CLnirqcpjvw");
console.log(response);
Testing
Configure the .env
file based on the .env.sample
provided with an IntegrationOS Secret Key, Connection Key and Model to test.
Full Documentation
Please refer to the official IntegrationOS Documentation and API Reference for more information and Node.js usage examples.