debitoor

1.2.2 • Public • Published

debitoor npm version Dependency Status

This small module wraps request in order to provide easy access to the Debitoor REST API.

Usage

Install via npm:

npm install debitoor

Use it like you would use request. The main difference is that you only have to specify relative URLs and that authentication is handled for you. Just provide a valid access token and you're ready to go:

var access_token = 'your-token';
 
var debitoor = require('debitoor')(access_token);
 
debitoor('/customers/v1', function (error, response, body) {
    console.log(body);
});

API Documentation

The general Debitoor REST API documentaion can be found here: [https://developers.debitoor.com]https://developers.debitoor.com

Package Sidebar

Install

npm i debitoor

Weekly Downloads

209

Version

1.2.2

License

MIT

Last publish

Collaborators

  • bubenshchykov
  • ebdrup
  • eagleeye
  • jmosbech