zoho-reports
v1.1.4
Published
Node client for Zoho Reports
Downloads
2
Readme
Node client for Zoho Reports.
Init
var ZohoReports = require('zoho-reports')
var zoho = new ZohoReports({
user: 'username',
authtoken: 'authtoken',
db: 'db'
})
.insert(String table, Object row, Function done)
Insert a row (click here for more details).
zoho.insert('fruit', {id: 1, name: 'Apple'}, function (err, data) {
console.log('done')
})
.update(String table, Object where, Function done)
Update rows (click here for more details).
.delete(String table, Object where, Function done)
Delete rows (click here for more details).
.import
Import bulk data (click here for more details).
.import(String table, String csv, Function done)
Imports data from csv string.
.import(String table, ReadStream stream, Function done)
Imports data from stream.
.import(String table, Array data, Function done)
Imports data from array of objects.
.export
Export bulk data (click here for more details).
.export(String table, Function done)
Export data for Tables and Reports.
zoho.export('fruit', function (err, data) {
console.log('done')
})