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")
Retrieves files
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Files
Retrieves inbox folder
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Inbox
Retrieves folders
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Folders
SDK on GitHub 📄 API Docs
SDK
xero-python
Python
API
xero.com
xero.com:xero_files
At a glance
Language Python
Endpoints16
Base URLhttps://api.xero.com/files.xro/1.0