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")
Retrieve all statements
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/bankfeeds.xro/1.0/Statements
Searches for feed connections
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/bankfeeds.xro/1.0/FeedConnections
Retrieve single feed connection based on a unique id provided
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/bankfeeds.xro/1.0/FeedConnections/{id}
SDK on GitHub 📄 API Docs
SDK
xero-python-oauth2-app
Python
API
xero.com
xero.com:xero_bankfeeds

At a glance

Language Python
Endpoints7
Base URLhttps://api.xero.com/bankfeeds.xro/1.0