zoho-reports

1.1.4 • Public • Published

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')
})

Readme

Keywords

none

Package Sidebar

Install

npm i zoho-reports

Weekly Downloads

0

Version

1.1.4

License

MIT

Unpacked Size

10.8 kB

Total Files

6

Last publish

Collaborators

  • afanasy