@apigrate/xero

1.4.4 • Public • Published

apigrate-xero

NodeJS API wrapper for Xero. This connector is for use with private Xero apps only.

Usage

npm install @apigrate-xero

To use the Xero connector, you will need to configure it with your generated Xero consumer key and Xero private key.

var xero = new Xero(
  {
    consumerKey: $xeroConsumerKey,
    privateKey: $xeroPrivateKey,
    measureTiming: true
  },
  LOGGER
  );

xero.getContacts()
.then(function(result){
  console.log("Result: "+ JSON.stringify(result));
})
.fail(function(err){
  console.error(err);
});

Readme

Keywords

none

Package Sidebar

Install

npm i @apigrate/xero

Weekly Downloads

0

Version

1.4.4

License

Apache-2.0

Unpacked Size

33.3 kB

Total Files

5

Last publish

Collaborators

  • apigratedev