Class: Analytics

Analytics

new Analytics(conn)

API class for Analytics API
Parameters:
Name Type Description
conn Connection Connection
Source:

Classes

Report
ReportInstance

Methods

report(id) → {Analytics~Report}

Get report object of Analytics API
Parameters:
Name Type Description
id String Report Id
Source:
Returns:
Type
Analytics~Report

reports(callbackopt) → {Promise.<Array.<Analytics~ReportInfo>>}

Get recent report list
Parameters:
Name Type Attributes Description
callback Callback.<Array.<Analytics~ReportInfo>> <optional>
Callback function
Source:
Returns:
Type
Promise.<Array.<Analytics~ReportInfo>>