Socket
Socket
Sign inDemoInstall

conductor-node

Package Overview
Dependencies
9
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    conductor-node

QuickBooks Desktop API for Node.js and TypeScript


Version published
Weekly downloads
2.7K
decreased by-14.26%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Conductor

QuickBooks Desktop API for Node.js, TypeScript, and REST

NPM download count Package version Code coverage CI status License

Quickstart   •   Website   •   Docs   •   Examples

What is Conductor?

Conductor is a TypeScript-first Node.js API for QuickBooks Desktop (sometimes called QuickBooks Enterprise). In just a few lines, get real-time access to fetch, create, or update any QuickBooks Desktop object type and receive a fully-typed response. Check out the documentation to get started.

We also offer a REST API.

Conductor, the company, is building a data integration platform for vertical SaaS companies, starting with QuickBooks Desktop. Our team has spent over a decade building companies, scaling vast software systems, and obsessing over quality.

Documentation

  1. Get Started
  2. Quickstart
  3. QuickBooks Desktop APIs
  4. API Reference
  5. Error Handling

Requirements

  1. A Conductor API key pair: one secret key, one publishable key. Please complete this form to join the beta.
  2. Node.js v16 or later.

Installation

npm install conductor-node
# or
yarn add conductor-node

Usage

The full API documentation is available here along with many code examples. The code below is a quickstart example.

import Conductor from "conductor-node";

const conductor = new Conductor("{{YOUR_SECRET_KEY}}");

async function main() {
  // 1. Create a new EndUser.
  const endUser = await conductor.endUsers.create({
    sourceId: "{{UNIQUE_ID_FROM_YOUR_DB}}",
    email: "{{END_USER_EMAIL}}",
    name: "{{END_USER_NAME}}",
  });
  console.log("Save this EndUser ID to auth future requests:", endUser.id);

  // 2. Create an AuthSession to establish the QuickBooks Desktop connection.
  const authSession = await conductor.authSessions.create({
    publishableKey: "{{YOUR_PUBLISHABLE_KEY}}",
    endUserId: endUser.id,
  });
  console.log("Complete the QuickBooks Desktop auth:", authSession.authFlowUrl);

  // 3. Get a list of all Customers from QuickBooks Desktop for this EndUser.
  const qbdCustomers = await conductor.qbd.customers.query(endUser.id);
  console.log("QuickBooks Desktop customers:", qbdCustomers);
}

main();

More Documentation

Please see our full documentation site for more docs, guides, and code examples.

Keywords

FAQs

Last updated on 05 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc