Using xero-python with xero.com

Python integration

Install
pip install xero-python
Quick start
import xero-python

# Use an OAuth2 access token
client = xero_python.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
Python
API
xero.com
xero.com:xero_assets
At a glance
Language Python
Endpoints6
Base URLhttps://api.xero.com/assets.xro/1.0