Skip to content

Commit 4dfb3de

Browse files
authored
Merge pull request #86 from XeroAPI/xero-python-1.13.2
first crack at generating python docs
2 parents ed08f41 + b3ac0db commit 4dfb3de

File tree

12 files changed

+65288
-18
lines changed

12 files changed

+65288
-18
lines changed

docs/v1/accounting/index.html

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5959,6 +5959,14 @@
59595959
<!-- *****REPLACE***** `xero-node` with the correct repo naming pattern + also add/delete api sets (ex. Ruby does not have Bankfeeds) -->
59605960
<option data-url="#">-API-</option>
59615961
<option data-url="https://xeroapi.github.io/xero-python/v1/accounting/index.html" value="Accounting">Accounting</option>
5962+
<option data-url="https://xeroapi.github.io/xero-python/appstore/index.html" value="AppStore">App Store</option>
5963+
<option data-url="https://xeroapi.github.io/xero-python/assets/index.html" value="Asset">Assets</option>
5964+
<option data-url="https://xeroapi.github.io/xero-python/files/index.html" value="Files">Files</option>
5965+
<option data-url="https://xeroapi.github.io/xero-python/finance/index.html" value="Finance">Finance</option>
5966+
<option data-url="https://xeroapi.github.io/xero-python/payroll-au/index.html" value="PayrollAu">Payroll (AU)</option>
5967+
<option data-url="https://xeroapi.github.io/xero-python/payroll-nz/index.html" value="PayrollNz">Payroll (NZ)</option>
5968+
<option data-url="https://xeroapi.github.io/xero-python/payroll-uk/index.html" value="PayrollUk">Payroll (UK)</option>
5969+
<option data-url="https://xeroapi.github.io/xero-python/projects/index.html" value="Project">Projects</option>
59625970
</select>
59635971
</fieldset>
59645972
<div class='api-set-wrapper'>
@@ -6000,7 +6008,7 @@
60006008
<nav id="scrollingNav">
60016009
<ul class="sidenav nav nav-list">
60026010
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6003-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>1.13.1</li>
6011+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>1.13.2</li>
60046012
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
60056013
<li data-group="Accounting" data-name="createAccount" class="">
60066014
<a href="#api-Accounting-createAccount">createAccount</a>
@@ -9657,7 +9665,7 @@ <h3>Usage and SDK Samples</h3>
96579665
xero_tenant_id = 'YOUR_XERO_TENANT_ID'
96589666
credit_note_id = '00000000-0000-0000-0000-000000000000'
96599667
file_name = 'xero-dev.jpg'
9660-
include_online = 'true'
9668+
include_online = 'True'
96619669

96629670
path_to_upload = Path(__file__).resolve().parent.joinpath(fileName)
96639671
open_file = open(path_to_upload, 'rb')
@@ -10844,7 +10852,7 @@ <h3>Usage and SDK Samples</h3>
1084410852
xero_tenant_id = 'YOUR_XERO_TENANT_ID'
1084510853
invoice_id = '00000000-0000-0000-0000-000000000000'
1084610854
file_name = 'xero-dev.jpg'
10847-
include_online = 'true'
10855+
include_online = 'True'
1084810856

1084910857
path_to_upload = Path(__file__).resolve().parent.joinpath(fileName)
1085010858
open_file = open(path_to_upload, 'rb')
@@ -22382,8 +22390,8 @@ <h3>Usage and SDK Samples</h3>
2238222390
where = 'ContactStatus==&quot;ACTIVE&quot;'
2238322391
order = 'Name ASC'
2238422392
ids = [&quot;00000000-0000-0000-0000-000000000000&quot;]
22385-
include_archived = 'true'
22386-
summary_only = 'true'
22393+
include_archived = 'True'
22394+
summary_only = 'True'
2238722395
search_term = 'searchTerm=Joe Bloggs'
2238822396

2238922397
try:
@@ -25630,9 +25638,9 @@ <h3>Usage and SDK Samples</h3>
2563025638
invoice_numbers = [&quot;INV-001&quot;, &quot;INV-002&quot;]
2563125639
contact_ids = [&quot;00000000-0000-0000-0000-000000000000&quot;]
2563225640
statuses = [&quot;DRAFT&quot;, &quot;SUBMITTED&quot;]
25633-
include_archived = 'true'
25634-
created_by_my_app = 'false'
25635-
summary_only = 'true'
25641+
include_archived = 'True'
25642+
created_by_my_app = 'False'
25643+
summary_only = 'True'
2563625644

2563725645
try:
2563825646
api_response = api_instance.get_invoices(xero_tenant_id, if_modified_since, where, order, ids, invoice_numbers, contact_ids, statuses, page, include_archived, created_by_my_app, unitdp, summary_only)
@@ -26582,7 +26590,7 @@ <h3>Usage and SDK Samples</h3>
2658226590
api_instance = AccountingApi(api_client)
2658326591
xero_tenant_id = 'YOUR_XERO_TENANT_ID'
2658426592
if_modified_since = dateutil.parser.parse("2020-02-06T12:17:43.202-08:00")
26585-
payments_only = 'true'
26593+
payments_only = 'True'
2658626594

2658726595
try:
2658826596
api_response = api_instance.get_journals(xero_tenant_id, if_modified_since, offset, payments_only)
@@ -34633,8 +34641,8 @@ <h3>Usage and SDK Samples</h3>
3463334641
timeframe = 'MONTH'
3463434642
tracking_option_id_1 = '00000000-0000-0000-0000-000000000000'
3463534643
tracking_option_id_2 = '00000000-0000-0000-0000-000000000000'
34636-
standard_layout = 'true'
34637-
payments_only = 'false'
34644+
standard_layout = 'True'
34645+
payments_only = 'False'
3463834646

3463934647
try:
3464034648
api_response = api_instance.get_report_balance_sheet(xero_tenant_id, date, periods, timeframe, tracking_option_id_1, tracking_option_id_2, standard_layout, payments_only)
@@ -35430,8 +35438,8 @@ <h3>Usage and SDK Samples</h3>
3543035438
tracking_category_id_2 = '00000000-0000-0000-0000-000000000000'
3543135439
tracking_option_id = '00000000-0000-0000-0000-000000000000'
3543235440
tracking_option_id_2 = '00000000-0000-0000-0000-000000000000'
35433-
standard_layout = 'true'
35434-
payments_only = 'false'
35441+
standard_layout = 'True'
35442+
payments_only = 'False'
3543535443

3543635444
try:
3543735445
api_response = api_instance.get_report_profit_and_loss(xero_tenant_id, from_date, to_date, periods, timeframe, tracking_category_id, tracking_category_id_2, tracking_option_id, tracking_option_id_2, standard_layout, payments_only)
@@ -35859,7 +35867,7 @@ <h3>Usage and SDK Samples</h3>
3585935867
api_instance = AccountingApi(api_client)
3586035868
xero_tenant_id = 'YOUR_XERO_TENANT_ID'
3586135869
date = dateutil.parser.parse("2019-10-31")
35862-
payments_only = 'true'
35870+
payments_only = 'True'
3586335871

3586435872
try:
3586535873
api_response = api_instance.get_report_trial_balance(xero_tenant_id, date, payments_only)
@@ -36257,7 +36265,7 @@ <h3>Usage and SDK Samples</h3>
3625736265
xero_tenant_id = 'YOUR_XERO_TENANT_ID'
3625836266
where = 'Status=="ACTIVE"'
3625936267
order = 'Name ASC'
36260-
include_archived = 'true'
36268+
include_archived = 'True'
3626136269

3626236270
try:
3626336271
api_response = api_instance.get_tracking_categories(xero_tenant_id, where, order, include_archived)

docs/v1/appstore/index.html

Lines changed: 3007 additions & 0 deletions
Large diffs are not rendered by default.

docs/v1/assets/index.html

Lines changed: 4004 additions & 0 deletions
Large diffs are not rendered by default.

docs/v1/files/index.html

Lines changed: 5418 additions & 0 deletions
Large diffs are not rendered by default.

docs/v1/finance/index.html

Lines changed: 6334 additions & 0 deletions
Large diffs are not rendered by default.

docs/v1/payroll-au/index.html

Lines changed: 9575 additions & 0 deletions
Large diffs are not rendered by default.

docs/v1/payroll-nz/index.html

Lines changed: 15685 additions & 0 deletions
Large diffs are not rendered by default.

docs/v1/payroll-uk/index.html

Lines changed: 15636 additions & 0 deletions
Large diffs are not rendered by default.

docs/v1/projects/index.html

Lines changed: 5603 additions & 0 deletions
Large diffs are not rendered by default.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def read_file(filename):
4848
keywords="xero python sdk API oAuth",
4949
name="xero_python",
5050
packages=find_packages(include=["xero_python", "xero_python.*"]),
51-
version="1.13.1",
51+
version="1.13.2",
5252
)

0 commit comments

Comments
 (0)