FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

admo26/Xero-OpenAPI: An OpenAPI specification for the Xero API · GitHub

 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Xero-OpenAPI

An OpenAPI (Swagger) specification for the Xero API

Description

This repository holds the official Xero OpenAPI descriptions. We've started with the Accounting API but we'll work on adding more if they prove useful to the community.

Preview

There are lots of tools available for viewing OpenAPI descriptions in a nicely formatted way. A popular tool is Swagger UI - a version of which is hosted here. In the URL field just enter the 'raw' URL of the spec file e.g.: https://raw.githubusercontent.com/XeroAPI/Xero-OpenAPI/master/spec/accounting2.yaml

Updates

If you find something missing or incorrect then please open an issue or send us a pull request. There are lots of tools for editing OpenAPI definitions including the Swagger Editor. Just copy the existing definition into the left-hand window and preview the changes on the right.

Postman

Postman will automatically import OpenAPI definitions but the OpenAPI spec doesn't support OAuth1.0a. To use our OpenAPI definitions to make requests in Postman you will need to also import the Xero OAuth1a Postman collection from our Xero-Postman repo.

Thanks

Thanks very much to @calcinai for contributing the xero-schemas from his xero-php project. It was super useful when creating the official definition. Also check out his definitions for AU Payroll, US Payroll, Assets and Files.

About

An OpenAPI specification for the Xero API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors


Back | FazBrowse Home | New Git URL