Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add QuickBooks connector #922

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,4 @@ bill_com_credentials.*
docs/html
docs/dirhtml
*.sw*
parsons/quickbooks/qb_script.py
42 changes: 42 additions & 0 deletions docs/quickbooks.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Quickbooks
=============

********
Overview
********

Quickbooks Time is a time tracking and scheduling tool that integrates with Quickbooks Online.
This integration allows you to pull time tracking data from Quickbooks Time into Parsons.

.. note::
Authentication
You need to generate a Quickbooks Time API token to use this integration. See the
`Quickbooks Time API documentation <https://tsheetsteam.github.io/api_docs/#getting-started>`_

==========
Quickstart
==========

In order to instantiate the Quickbooks Time class, you need to pass in your Quickbooks Time API token
as an environment variable "QB_AUTH_TOKEN" or pass it in as a parameter called token="your_token".

**Example 1**

.. code-block:: python

from parsons import QuickBooks

# instantiate the quickbooks class
qb = QuickBooks(token="your_token")

#Timesheets Table
timesheets_tbl = qb.get_timesheets()

This example shows how to get timesheets for a given date range.

***
API
***

.. autoclass :: parsons.YourConnector
:inherited-members:
1 change: 1 addition & 0 deletions parsons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
("parsons.pdi.pdi", "PDI"),
("parsons.phone2action.p2a", "Phone2Action"),
("parsons.quickbase.quickbase", "Quickbase"),
("parsons.quickbooks.quickbooks", "QuickBooks"),
("parsons.redash.redash", "Redash"),
("parsons.rockthevote.rtv", "RockTheVote"),
("parsons.salesforce.salesforce", "Salesforce"),
Expand Down
Empty file added parsons/quickbooks/__init__.py
Empty file.
Loading