Retrieve a Time Series
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
The start date-time for the query
The end date-time for the query
Discrete time interval between points. Should be in the format
The format that any date parameters will be returned in. This takes any value permitted by Moment.
require_once('gosquared-php-sdk/main.php'); $GS = new GoSquared(array( 'site_token' => 'GSN-106863-S', 'api_key' => 'demo' )); $result = $GS->now->timeSeries();
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder