buzzapi
v2.1.0
Published
Simple node library for interacting with buzzapi
Downloads
126
Readme
Simple nodejs library for communicating with buzzapi.
var BuzzApi = require('buzzapi');
var buzzapi = new BuzzApi({'apiUser': 'id', 'apiPassword': 'secret'});
# with callbacks
buzzapi.post('resource', 'operation', function(err, body){console.log(body)});
# or Promises
buzzapi.post('resource', 'operation').then(body => {console.log(body);}).catch(err => {console.error(err);});