xero
A simple node library for Xero Private Applications
Install
npm install xero
Usage
Request
var Xero = ; var xero = CONSUMER_KEY CONSUMER_SECRET RSA_PRIVATE_KEY;xero;
Response
"Response": "Id":"37286998-xxxx-xxxx-xxxx-xxxxxxxxxxxx" "Status":"OK" "ProviderName":"My Account" "DateTimeUTC":"2013-04-22T17:13:31.2755569Z" "Users": "User": "UserID":"613fbf01-xxxx-xxxx-xxxx-xxxxxxxxxxxx" "FirstName":"Chadd" "LastName":"Sexington" "UpdatedDateUTC":"2013-04-12T05:54:50.477" "IsSubscriber":"true" "OrganisationRole":"STANDARD"
Example POST Request
...// Adding contact(s)var request;// Singlerequest = Name: 'Name1';// Multiplerequest = Name: 'Name1' Name: 'Name2';xero;
Download PDF
var Xero = ;var fs = ; var xero = CONSUMER_KEY CONSUMER_SECRET RSA_PRIVATE_KEY;var invoiceId = 'invoice-identifier';var req = xero; req;req;req;
Docs
http://developer.xero.com/api/
Enjoy! - thallium205 https://github.com/thallium205