Sample apps and code

Intuit provides sample apps at intuitdeveloper.github.io to demonstrate how to integrate your app with the QuickBooks Online API, and code samples to demonstrate how to implement specific features.

Sample apps and code for the Intuit SDKs

Intuit provides several sample apps and code samples for using the Intuit SDKs:

.NET samples show how to use OAuth, perform CRUD operations, how to integrate your app with the ASP.NET MVC 3 Framework, and how to use webhooks with the .NET SDK.

Java samples demonstrate how to use OAuth, perform CRUD operations, and how to integrate your app with webhooks using the Java SDK.

PHP samples show how to use OAuth and OpenId, perform CRUD operations, and make Data Exchange calls using the PHP SDK.

OAuth 2.0 sample code if you do not use an SDK

The following OAuth 2.0 code samples are available for a number of languages and do not require an Intuit SDK:

OAuth2-Dotnet-WithoutSDK provides a working example of OAuth 2.0 management for .NET.

Oauth2-MVC5-DotnetSampleApp provides MVC5 sample code using OAuth 2.0 for .NET.

OAuth2-Go demonstrates the OAuth 2.0 flow using Go.

OAuth2-Java demonstrates the OAuth 2.0 flow using Java.

auth2-nodejs provides a working example of OAuth 2.0 management for Node.js.

OAuth2PythonSampleApp provides a sample app for using OAuth 2.0 with Python.

 

PythonV3InvoiceSampleApp provides CRUD and webhooks examples for creating an invoice using Python, with OAuth 2.0 or OAuth 1 .0.

 

Ruby on Rails provides a sample app for using OAuth 2.0 with Ruby on Rails.

 

OAuth 1.0 sample code if you do not use an SDK

The following code samples are available for OAuth 1.0 and do not require an Intuit SDK:

oauth-dotnet provides a working example of OAuth 1.0 management for .NET.

oauth-java provides a working example of OAuth 1.0 management for Java.

SampleApp-OpenID-Oauth-Java shows how to integrate the OAuth 1.0 and OpenID services for Java without Intuit's Java SDK.

oauth-node-js provides a working example of OAuth 1.0 management for Node.js.

FiddlerOAuth provides a Fiddler extension to sign requests with OAuth 1.0.

OAuth-Python demonstrates the OAuth 1.0 flow using Python.

SampleApp-QuickBooksV3API-Python provides an example of how to make API calls using Python.

SampleApp-InventoryTracking-QuickBooksV3API-NodeJS provides an example of how to make API calls using Node.js.

SampleApp-Webhooks-nodejs provides examples of how to use a webhooks endpoint to receive event notifications with Node.js.

Third-party-contributed samples

Several third-party-contributed tools are available to help you to build and integrate your apps.

Note

Intuit is not affiliated with these third parties and assumes no liability for them or their samples. Nor does Intuit recommend their samples to you. You should evaluate such samples and their associated terms and conditions to make your own assessments. All third-party samples are licensed by their licensors or owners.

ASP.NET

QuickBooksAppMVC5 provides a standard boilerplate modified for QuickBooks OpenID and OAuth access.

Drupal

Drupal QuickBooks Online API provides a simple integration between Drupal and the QuickBooks Online API.

Google Apps script

QuickBooks.gs is a sample Google Apps script that authorizes and makes a request to the QuickBooks Online API using OAuth 1.0.

 

Perl

OAuth-Perl is a Perl script for establishing an OAuth connection to QuickBooks Online for making API calls.

 

Shell

QBO-Scripts provides shell scripts for interfacing with the QuickBooks Online API.

 

Did you find this page helpful?
Your feedback helps us make our docs better. Please let us know if this page helped you, or if it needs improvement.

 Got Questions? Get Answers in our developer forums.