« Back to Documentation OverviewlistLocations – 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
| 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
| string | country | the country name
| | string | cc | the 2 digit country code
| | double | percent | the percent of subscribers in the country
| | double | total | the total number of subscribers in the country
| |