Skip to content

Commit cae8ed1

Browse files
committed
Update readme
1 parent 31f0a1f commit cae8ed1

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ urllib3 = ">=2.1.0"
1313
intuit-oauth = "==1.2.4"
1414
requests = ">=2.31.0"
1515
simplejson = ">=3.19.1"
16-
requests_oauthlib = ">=1.3.1"
16+
requests_oauthlib = ">=1.3.1"

Pipfile.lock

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Then create a QuickBooks client object passing in the AuthClient, refresh token,
5454
company_id='COMPANY_ID',
5555
)
5656

57-
If you need to access a minor version (See [Minor versions](https://developer.intuit.com/docs/0100_quickbooks_online/0200_dev_guides/accounting/minor_versions) for
57+
If you need to access a minor version (See [Minor versions](https://developer.intuit.com/app/developer/qbo/docs/learn/explore-the-quickbooks-online-api/minor-versions#working-with-minor-versions) for
5858
details) pass in minorversion when setting up the client:
5959

6060
client = QuickBooks(
@@ -74,7 +74,9 @@ List of objects:
7474

7575
**Note:** The maximum number of entities that can be returned in a
7676
response is 1000. If the result size is not specified, the default
77-
number is 100. (See [Intuit developer guide](https://developer.intuit.com/docs/0100_accounting/0300_developer_guides/querying_data) for details)
77+
number is 100. (See [Query operations and syntax](https://developer.intuit.com/app/developer/qbo/docs/learn/explore-the-quickbooks-online-api/data-queries) for details)
78+
79+
**Warning:** You should never allow user input to pass into a query without sanitizing it first! This library DOES NOT sanitize user input!
7880

7981
Filtered list of objects:
8082

@@ -104,6 +106,8 @@ List with custom Where Clause (do not include the `"WHERE"`):
104106

105107
customers = Customer.where("Active = True AND CompanyName LIKE 'S%'", qb=client)
106108

109+
110+
107111
List with custom Where and ordering
108112

109113
customers = Customer.where("Active = True AND CompanyName LIKE 'S%'", order_by='DisplayName', qb=client)
@@ -112,7 +116,7 @@ List with custom Where Clause and paging:
112116

113117
customers = Customer.where("CompanyName LIKE 'S%'", start_position=1, max_results=25, qb=client)
114118

115-
Filtering a list with a custom query (See [Intuit developer guide](https://developer.intuit.com/docs/0100_accounting/0300_developer_guides/querying_data) for
119+
Filtering a list with a custom query (See [Query operations and syntax](https://developer.intuit.com/app/developer/qbo/docs/learn/explore-the-quickbooks-online-api/data-queries) for
116120
supported SQL statements):
117121

118122
customers = Customer.query("SELECT * FROM Customer WHERE Active = True", qb=client)

0 commit comments

Comments
 (0)