Versions Compared

Key

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

...

URL

description

notes

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

Return entire list of "county" names

 

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

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

 

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

Return list of "county" names that match

Can wildcards be used in the match string?

data/subnational2/list?subnational1Code=<eBird subnational1 code>&locale=<locale to use for names>

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

 

parameter

required

default

value options

description

match

yes, for /find

n/a

 

String to match against "county" names. What kind of wildcards can be used?

locale

no

en_US

Java standard locale codes

locale in which to perform matching, and in which to provide names in response (when possible)

countryCode no

one of countryCode and subnational1Code is required for /list

n/a


2-letter ISO country code

subnational1Code no

one of countryCode and subnational1Code is required for /list

n/a


eBird standard subnational1Code

format

no

csv

  • csv
  • xml

format to use for response

...