Organisation
Retrieve historical organisation data
GETtrends/organisation
Retrieves a list of summarised organisation metrics over a given time period.
Query String Parameters
from | String The start date-time for the query |
to | String The end date-time for the query |
dateFormat | String The format that any date parameters will be returned in. This takes any value permitted by Moment. |
format | StringDefault Value: Accepted values: The response format required (overrides header) |
limit | StringDefault Value: The maximum number of results e.g. |
Example Request
var GoSquared = require('gosquared');
var gosquared = new GoSquared({
api_key: 'demo',
site_token: 'GSN-106863-S'
});
gosquared.trends.v2.organisation(function(err, res) {
if (err) return console.log(err);
console.log(res);
});
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder