geckoboard-push-reloaded
Version:
Send data to Geckoboard via their new push API - FORKED FROM: git://github.com/danjenkins/node-geckoboard-push.git
18 lines (14 loc) • 456 B
JavaScript
var Base = require('./GeckoboardPushSend');
module.exports = GeckoboardPushBar;
function GeckoboardPushBar(params,widget_key){
this.options = params;
this.options.widget_key = widget_key;
this.prototype = new Base(this.options);
}
GeckoboardPushBar.prototype.send = function(items, callback){
/*
https://developer.geckoboard.com/#line-chart
items is object with at least one series of data
*/
this.prototype.send(items, callback);
}