Using xero-python-oauth2-app with xero.com

Python integration

Install

pip install xero-python-oauth2-app

Quick start

import xero-python-oauth2-app

# Use an OAuth2 access token
client = xero_python_oauth2_app.Client(access_token="YOUR_ACCESS_TOKEN")
searches fixed asset
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/assets.xro/1.0/Assets
searches fixed asset settings
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/assets.xro/1.0/Settings
searches fixed asset types
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/assets.xro/1.0/AssetTypes
SDK on GitHub 📄 API Docs
SDK
xero-python-oauth2-app
Python
API
xero.com
xero.com:xero_assets

At a glance

Language Python
Endpoints6
Base URLhttps://api.xero.com/assets.xro/1.0