Using xero-ruby with xero.com

Ruby integration

Install
gem install xero-ruby
Quick start
require 'xero-ruby'

client = XeroRuby::Client.new(api_key: "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-ruby
Ruby
API
xero.com
xero.com:xero_files
At a glance
Language Ruby
Endpoints16
Base URLhttps://api.xero.com/files.xro/1.0