geckoboard-push
Version:
Send data to Geckoboard via their new push API
19 lines (14 loc) • 466 B
JavaScript
var Base = require('./GeckoboardPushSend');
module.exports = GeckoboardPushLineV2;
function GeckoboardPushLineV2(params,widget_key){
this.options = params;
this.options.widget_key = widget_key;
this.prototype = new Base(this.options);
}
GeckoboardPushLineV2.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);
}