City [DEPRECATED]

Service

/country

Method

GET

Parameters

NameTypeRequiredDescription
countrystringNCountry code

Response 1

Empty country code:

{
 "response":{
  "status":"OK",
  "countries":[
   {
    "country":"AD",
    "country_name":"Andorra",
   },
   {
    "country":"AE",
    "country_name":"United Arab Emirates",
   }
  ]
 }
}

Response 2

Country code set to 'AD'

{
 "response":{
  "status":"OK",
  "regions":[
   {
    "country":"AD",
    "country_name":"Andorra",
    "region":"07",
    "region_name":"Andorra la Vella"
   },
   {
    "country":"AD",
    "country_name":"Andorra",
    "region":"02",
    "region_name":"Canillo"
   }
  ]
 }
}