Skip to content

Commit

Permalink
Updated readme and changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
ej2 committed Apr 22, 2020
1 parent 8ee77d3 commit 114f10e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

* 0.8.1 (September 18th, 2019)
* Added PrimaryTaxIdentifier to Customer object
* Fixed issue with PaymentMethod to_ref
* Fixed typo in EntityRef on purchase object
* Updated requirements

* 0.8.1 (September 18th, 2019)
* Dropped support for Python 2.7 and 3.3
* Updated the Invoice to include an AllowOnlineCreditCardPayment attribute.
Expand Down
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
python-quickbooks
=================

[![](https://travis-ci.org/sidecars/python-quickbooks.svg?branch=master)](https://travis-ci.org/sidecars/python-quickbooks)
[![](https://coveralls.io/repos/sidecars/python-quickbooks/badge.svg?branch=master&service=github)](https://coveralls.io/github/sidecars/python-quickbooks?branch=master)
[![](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/sidecars/python-quickbooks/blob/master/LICENSE)
[![](https://travis-ci.org/ej2/python-quickbooks.svg?branch=master)](https://travis-ci.org/ej2/python-quickbooks)
[![Coverage Status](https://coveralls.io/repos/github/ej2/python-quickbooks/badge.svg?branch=master)](https://coveralls.io/github/ej2/python-quickbooks?branch=master)
[![](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/ej2/python-quickbooks/blob/master/LICENSE)

A Python 3 library for accessing the Quickbooks API. Complete rework of
[quickbooks-python](https://github.com/troolee/quickbooks-python).

These instructions were written for a Django application. Make sure to
change it to whatever framework/method you’re using.
You can find additional examples of usage in [Integration tests folder](https://github.com/sidecars/python-quickbooks/tree/master/tests/integration).
You can find additional examples of usage in [Integration tests folder](https://github.com/ej2/python-quickbooks/tree/master/tests/integration).

For information about contributing, see the [Contributing Page](https://github.com/sidecars/python-quickbooks/wiki/Contributing).
For information about contributing, see the [Contributing Page](https://github.com/ej2/python-quickbooks/wiki/Contributing).

QuickBooks OAuth
------------------------------------------------
Expand Down Expand Up @@ -280,6 +280,20 @@ Formating helpers are available in helpers.py. Example usage:
date_time_string = qb_datetime_format(datetime(2016, 7, 22, 10, 35, 00))
date_time_with_utc_string = qb_datetime_utc_offset_format(datetime(2016, 7, 22, 10, 35, 00), '-06:00')

Exception Handling
----------------
The QuickbooksException object contains additional information from QBO.

from quickbooks.exceptions import QuickbooksException

try:
# perform a Quickbooks operation
except QuickbooksException as e:
e.message # contains the error message returned from QBO
e.error_code # contains the [QBO error code](https://developer.intuit.com/app/developer/qbo/docs/develop/troubleshooting/error-codes#id1)
e.detail # contains additional information when available


**Note:** Objects and object property names match their Quickbooks
counterparts and do not follow PEP8.

Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ def read(*parts):
return fp.read()


VERSION = (0, 8, 1)
VERSION = (0, 8, 2)
version = '.'.join(map(str, VERSION))

setup(
name='python-quickbooks',
version=version,
author='Edward Emanuel Jr.',
author_email='edward@sidecarsinc.com',
author_email='edward.emanuel@gmail.com',
description='A Python library for accessing the Quickbooks API.',
url='https://github.com/sidecars/python-quickbooks',
url='https://github.com/ej2/python-quickbooks',
license='MIT',
keywords=['quickbooks', 'qbo', 'accounting'],
long_description=read('README.md'),
Expand All @@ -31,11 +31,11 @@ def read(*parts):

install_requires=[
'setuptools',
'intuit-oauth==1.2.2',
'intuit-oauth==1.2.3',
'rauth>=0.7.1',
'requests>=2.7.0',
'simplejson>=2.2.0',
'six>=1.4.0',
'requests>=2.23.0',
'simplejson>=3.17.0',
'six>=1.14.0',
'python-dateutil',
'pycparser==2.18'
],
Expand Down

0 comments on commit 114f10e

Please sign in to comment.