« Back to Documentation Overview

listLocations – v1.3

 listLocations(string apikey, string id)

Retrieve the locations (countries) that the list's subscribers have been tagged to based on geocoding their IP address

Section
List Related
Parameters
apikey a valid API Key for your user account. Get by visiting your API dashboard
id the list id to connect to. Get by calling lists()
Returns
array array of locations
stringcountrythe country name
stringccthe 2 digit country code
doublepercentthe percent of subscribers in the country
doubletotalthe total number of subscribers in the country