(package) new Reporting(client)
Manager for reporting functionality.
Parameters:
Name | Type | Description |
---|---|---|
client |
Client | Client to use |
- Source:
Methods
report(projectSlug, dimensions, metrics, optionsopt) → {Promise}
Generates a report for a specified project
Parameters:
Name | Type | Attributes | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|---|
projectSlug |
string | The slug of the project to report against. | ||||||||
dimensions |
Array.<string> | Dimensions to generate the report with. | ||||||||
metrics |
Array.<string> | Metrics to generate the report with | ||||||||
options |
Object |
<optional> |
{} | Options to use for generating the report
Properties
|
- Source:
Returns:
Promise representing the HTTP request
- Type
- Promise