### Install Conductor SDK Source: https://docs.conductor.is/quickstart/index Install the Conductor SDK for Node.js, Python, or use cURL for direct REST API access. ```APIDOC ## Install Conductor SDK ### Description Install the Conductor SDK for your preferred language or use cURL to interact with the REST API. ### Method N/A (Installation commands) ### Endpoint N/A ### Parameters N/A ### Request Example ```sh # npm npm install conductor-node # yarn yarn add conductor-node # pnpm pnpm add conductor-node # Python pip install conductor-py ``` ### Response N/A ``` -------------------------------- ### Install Conductor SDK for Node.js, Python, and cURL Source: https://docs.conductor.is/quickstart/index Instructions for installing the Conductor SDK for Node.js using npm, yarn, or pnpm. Also includes installation for Python via pip and notes for using cURL. ```sh # npm npm install conductor-node # yarn yarn add conductor-node # pnpm pnpm add conductor-node ``` ```sh pip install conductor-py ``` ```sh # Continue to the next step to access our REST API directly via `curl`. ``` -------------------------------- ### Example QBD Customer List Response Source: https://docs.conductor.is/quickstart/index An example JSON response structure for a list of QuickBooks Desktop customers fetched via the Conductor API. It includes common fields like ID, object type, creation timestamp, and name. ```json { "objectType": "list", "url": "/v1/quickbooks-desktop/customers", "data": [ { "id": "80000001-1234567890", "objectType": "qbd_customer", "createdAt": "2024-10-01T17:34:56.000Z", "name": "ABC Corporation", "isActive": true, "// ...": "// more fields here" } "// ...": "// more customers here" ], "// ...": "// other list metadata" } ``` -------------------------------- ### Fetch QBD Customers using Conductor SDK (Node.js, Python) and cURL Source: https://docs.conductor.is/quickstart/index Demonstrates how to fetch a list of customers from QuickBooks Desktop using the Conductor SDK in Node.js and Python, as well as via a direct cURL request. Requires your secret API key and end-user ID. ```ts import Conductor from "conductor-node"; const conductor = new Conductor({ apiKey: "{{YOUR_SECRET_KEY}}" }); async function main() { const invoices = await conductor.qbd.invoices.list({ conductorEndUserId: "{{YOUR_END_USER_ID}}", limit: 10, }); console.log(invoices.data); } main(); ``` ```py from conductor import Conductor conductor = Conductor(api_key="{{YOUR_SECRET_KEY}}") invoices = conductor.qbd.invoices.list( conductor_end_user_id="{{YOUR_END_USER_ID}}", ) print(invoices.data) ``` ```sh curl --request GET \ --url 'https://api.conductor.is/v1/quickbooks-desktop/customers' \ --header 'Authorization: Bearer {{YOUR_SECRET_KEY}}' \ --header 'Conductor-End-User-Id: {{YOUR_END_USER_ID}}' ``` -------------------------------- ### Fetch QBD Customers Source: https://docs.conductor.is/quickstart/index Fetch a list of customers from QuickBooks Desktop using the Conductor Node.js SDK, Python SDK, or cURL. ```APIDOC ## Fetch QBD Customers ### Description Fetch a list of customers from your QuickBooks Desktop instance using the Conductor API. This example demonstrates usage with Node.js, Python, and cURL. ### Method GET ### Endpoint `/v1/quickbooks-desktop/customers` ### Parameters #### Query Parameters - **limit** (integer) - Optional - The maximum number of customers to return. #### Headers - **Authorization** (string) - Required - Bearer token (`Bearer {{YOUR_SECRET_KEY}}`). - **Conductor-End-User-Id** (string) - Required - The ID of the end-user (`{{YOUR_END_USER_ID}}`). ### Request Example ```typescript import Conductor from "conductor-node"; const conductor = new Conductor({ apiKey: "{{YOUR_SECRET_KEY}}" }); async function main() { const customers = await conductor.qbd.customers.list({ conductorEndUserId: "{{YOUR_END_USER_ID}}", limit: 10, }); console.log(customers.data); } main(); ``` ```python from conductor import Conductor conductor = Conductor(api_key="{{YOUR_SECRET_KEY}}") customers = conductor.qbd.customers.list( conductor_end_user_id="{{YOUR_END_USER_ID}}", ) print(customers.data) ``` ```sh curl --request GET \ --url 'https://api.conductor.is/v1/quickbooks-desktop/customers' \ --header 'Authorization: Bearer {{YOUR_SECRET_KEY}}' \ --header 'Conductor-End-User-Id: {{YOUR_END_USER_ID}}' ``` ### Response #### Success Response (200) - **objectType** (string) - Type of the returned object, expected to be "list". - **url** (string) - The endpoint URL for the request. - **data** (array) - An array of QBD customer objects. - **id** (string) - Unique identifier for the customer. - **objectType** (string) - Type of the object, expected to be "qbd_customer". - **createdAt** (string) - Timestamp when the customer was created. - **name** (string) - The name of the customer. - **isActive** (boolean) - Indicates if the customer is active. #### Response Example ```json { "objectType": "list", "url": "/v1/quickbooks-desktop/customers", "data": [ { "id": "80000001-1234567890", "objectType": "qbd_customer", "createdAt": "2024-10-01T17:34:56.000Z", "name": "ABC Corporation", "isActive": true // ... } // ... ], // ... } ``` ``` -------------------------------- ### React Image Component for Conductor Source: https://docs.conductor.is/quickstart/index A React component for rendering images hosted on AWS S3, with customizable styling for borders, shadows, and zoom behavior. It constructs the image source URL using a base path and provided image source. ```javascript export const Image = ({src, alt, width, align = "center", noShadow = false, noBorder = false, noZoom = false}) => {alt}; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.