Subnational2Code List and Search Web Service API
URL | description | status | notes |
---|---|---|---|
data/meta/subnational2/list?countryCode=<2-letter ISO country code> &locale=<locale to use for names> | Return list of "county" names found in the given country | coded, not deployed |
|
data/meta/subnational2/find?match=<string to match> &locale=<locale used in match string> | Return list of "county" names that match | not coded | Can wildcards be used in the match string? |
data/meta/subnational2/list?subnational1Code=<eBird subnational1 code> &locale=<locale to use for names> | Return list of "county" names found in the given "state" | coded, not deployed |
|
parameter | required | default | value options | description | status |
---|---|---|---|---|---|
match | yes, for /find | n/a |
| String to match against "county" names. What kind of wildcards can be used? | not coded |
locale | no | en_US | Java standard locale codes | locale in which to perform matching, and in which to provide names in response (when possible) | not coded |
countryCode | one of countryCode and subnational1Code is required for /list | n/a | 2-letter ISO country code | coded, not deployed | |
subnational1Code | one of countryCode and subnational1Code is required for /list | n/a | eBird standard subnational1Code | coded, not deployed | |
format | no | csv |
| format to use for response | coded, not deployed |
CSV Result Format
Panel |
---|
<country code>, <subnational1 code>, <subnational2 code>, <name associated with subnational2 code> |
...