Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Subnational1Code List and Search Web Service API

URL

description

notes

data/subnational2subnational1/list?locale=<locale to use for names>

Return entire list of "state" names

 

data/subnational2subnational1/list?countryCode=<2-letter ISO country code>&locale=<locale to use for names>

Return list of "state" names found in the given country

 

data/subnational2subnational1/find?match=<string to match>&locale=<locale used in match string>

Return list of "state" names that match

Can wildcards be used in the match string?

...