Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (25 loc) · 1.03 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.03 KB

IntegrationOS Node.js Library

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.