@integrationos/node
v4.1.16
Published
Node SDK for the IntegrationOS Unified API
Downloads
294
Readme
@integrationos/node
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.