Skip to content

ModupeD/OAuth-Example-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quickbooks Connect Tutorial

This is a simple tutorial to connect to external API's using OAuth 2.0

Technologies Used

  • Python
  • Flask
  • Requests

Setup

  • Create a .env file and add the following variables:
CLIENT_ID=your_client_id
CLIENT_SECRET=your_client_secret
REDIRECT_URI=your_redirect_uri
QB_BASE_URL=your_qb_base_url
REDIRECT_URI="your-redirect-url"
QB_BASE_URL="your-qb-base-url"
QB_TOKEN_URL="https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer"
QB_COMPANY_ID="your-company-id"
QB_ENV="sandbox"
AUTHORIZATION_URL="your-auth-url"
TOKEN_URL="your-token-url"
  • Install the required packages:
pip install -r requirements.txt
  • Run the app:
python app.py
  • Open http://localhost:5500 in your browser
    • Click on Connect to Quickbooks
    • Login to your Quickbooks account
    • Allow the app to access your Quickbooks account
  • You should now see your Quickbooks company info

About

This repo is a technical guide on how to connect quickbooks data to your Flask Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages