Time Series

Retrieve a Time Series

GETnow/timeSeries

Retrieves a list of data points containing the number of visitors over time as the metric. This can be used to plot visualisations of visitors over time as shown in the Now dashboard. It could also be used to retrieve information for further analysis elsewhere.

Query String Parameters

from

String

The start date-time for the query

to

String

The end date-time for the query

interval

StringDefault Value: 5min

Discrete time interval between points. Should be in the format Xmin, where X is the number of minutes over which to average minute datapoints. Resulting data points will be averages of datapoints within the interval

dateFormat

String

The format that any date parameters will be returned in. This takes any value permitted by Moment.

Definition

GET https://api.gosquared.com/now/v3/timeSeries

Example Request

curl "https://api.gosquared.com/now/v3/timeSeries?api_key=demo&site_token=GSN-106863-S" 

Live Responseundefined undefined

Your API Key is not authorised for this endpoint

Please fill in the required fields in the Query Builder