mode-embed-url
Create Mode Analytics white label embed URLs
Install
$ npm install --save mode-embed-url
Usage
var mode = //=> https://modeanalytics.com/...
API
mode(options)
-> string
options
organization
Required
Type: string
The organization name.
report
Required
Type: string
The report name.
key
Required
Type: string
The access key.
secret
Required
Type: string
The access secret.
maxAge
Required
Type: number
The maximum allowed query age before a report will be re-run (in seconds).
params
Required
Type: object
One or more parameters.
timestamp
Type: number
Default: Date.now()
The current timestamp (in seconds).
License
MIT © Ben Drucker