node-sheetsu
Node JS module for using Sheetsu
Getting Started
- Install the module
npm install sheetsu
- Example usage :
var Sheetsu = require('sheetsu');
var test_url = 'YOUR_SHEETSU_API';
var dev = new Sheetsu(test_url);
dev.getData({column_name:'...'}, function(response) {
console.log(response.data);
});
dev.addRow({...}, function(response) {
console.log(response);
})
Methods
getAllData (callback)
callback
: function to be executed after the method
getData (params, callback)
params
: Should include the field column_name
to get data of the particular columncallback
: function to be executed after the method
addRow (params, callback)
params
: Should include the row of information to add to the spreadsheetcallback
: function to be executed after the method