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

require_once('gosquared-php-sdk/main.php');

$GS = new GoSquared(array(
  'site_token' => 'GSN-106863-S',
  'api_key' => 'demo'
));

$result = $GS->now->languages();

Live Responseundefined undefined

Your API Key is not authorised for this endpoint

Please fill in the required fields in the Query Builder