Skip to content

Official Xero OAuth 2.0 python SDK

License

Notifications You must be signed in to change notification settings

brickx/xero-python

 
 

Repository files navigation

xero-python

image

Official python SDK for Xero API generated by OpenAPI spec for oAuth 2

Features

Starter Project

We've created xero-python-outh2-starter a project to demonstrate how to use this SDK.

  • oauth 2 flow to obtain a token
  • token refresh
  • identity to obtain tenant_id
  • organisation endpoint
  • create contact
  • create multiple contacts
  • get invoices using where clause

Here is a 15 min video walkthrough on using the starter project.

Kitchen Sync app

We've created xero-python-outh2-app a project to demonstrate how to make API calls and displays the python code used to make the call and the JSON response.

  • oauth 2 flow to obtain a token
  • token refresh
  • identity to obtain tenant_id
  • accounting
    • accounts
    • contacts
    • invoices
  • assets
    • asset
    • asset type
    • asset settings
  • projects
    • projects
    • project users
    • tasks
    • time
  • au payroll
    • employee
    • leave applications
    • pay items
    • payroll calendar
    • pay runs
    • pay slips
    • settings
    • superfunds
    • superfund products
    • timesheets
  • uk payroll
    • employees
    • employement
    • employees tax
    • employee opening balance
    • employees leave
    • employees leave balances
    • employees statutory leave balances
    • employees statutory leave summary
    • employees statutory sick leave
    • employees leave periods
    • employees leave types
    • employees pay templates
    • employer pensions
    • deductions
    • earnings orders
    • earnings rates
    • leave types
    • reimbursements
    • timesheets
    • payment methods
    • payrun calendars
    • salary and wage
    • pay runs
    • pay slips
    • settings
    • tracking categories

Credits

Contribution

Please read contribution guidelines.

License

This software is published under the MIT License.

Copyright (c) 2020 Xero Limited

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

About

Official Xero OAuth 2.0 python SDK

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%