Languages

Retrieve list of languages

GETnow/languages

Retrieves a list of the different languages for currently online visitors, sorted by the number of visitors per language.

Query String Parameters

limit

StringDefault Value: 0,5

The maximum number of results e.g. 10 to return with an optional offset e.g. 5,10

presenter

StringDefault Value: truncatedList

Accepted values: truncatedList, list, truncatedObject, object

Modifies the response data structure

  • truncatedList: A list of items including the sum of "other" values
  • list: A list of items
  • truncatedObject: A key:value object of item:count including the sum of "other" values
  • object: A key:value object of item:count

Definition

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

Example Request

var GoSquared = require('gosquared');
var gosquared = new GoSquared({
  api_key: 'demo',
  site_token: 'GSN-106863-S'
});

gosquared.now.v3.languages(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