DocsReferenceAnalyticsClient

Reference

AnalyticsClient

The entry point. 8 methods.

javascript
var analyticsClient = require('./AnalyticsClient');

var clientId     = '1000.xxxxxxx';
var clientSecret = 'xxxxxxx';
var refreshToken = '1000.xxxxxxx.xxxxxxx';

var ac = new analyticsClient(clientId, clientSecret, refreshToken);

AnalyticsClient exposes 8 methods. Method names are camelCase and identifiers are string.

Methods#

getBulkInstance, getOrgInstance, getViewInstance, getWorkspaceInstance, parseCSV, sendBatchImportRequest, sleep, stringifyCSV

getBulkInstance#

javascript
getBulkInstance(orgId, workspaceId)

Returns a new BulkAPI instance.

ParameterTypeDescription
orgIdStringThe ID of the organization.
workspaceIdStringThe ID of the workspace.

getOrgInstance#

javascript
getOrgInstance(orgId)

Returns a new OrgAPI instance.

ParameterTypeDescription
orgIdStringThe ID of the organization.

getViewInstance#

javascript
getViewInstance(orgId, workspaceId, viewId)

Returns a new ViewAPI instance.

ParameterTypeDescription
orgIdStringThe ID of the organization.
workspaceIdStringThe ID of the workspace.
viewIdStringThe ID of the view.

getWorkspaceInstance#

javascript
getWorkspaceInstance(orgId, workspaceId)

Returns a new WorkspaceAPI instance.

ParameterTypeDescription
orgIdStringThe ID of the organization.
workspaceIdStringThe ID of the workspace.

parseCSV#

javascript
parseCSV(content, delimiter = ',', quotechar = '"')

sendBatchImportRequest#

javascript
sendBatchImportRequest(url, header, batch)

sleep#

javascript
sleep(ms)

stringifyCSV#

javascript
stringifyCSV(rows, delimiter = ',', quotechar = '"')
  • Errors — the failure envelope and codes worth branching on.
  • Limits — throttles and quotas that apply to these calls.
Zoho Analytics Node.js SDK · REST API v2 Generated 2026-10-27