X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7205491b8495e48c62b28373d1746e77d475582b..221b5cd8a2c80866c4b9c51e3f66487bf855bc47:/docs/api/Search.md diff --git a/docs/api/Search.md b/docs/api/Search.md index da2a96b0..f1b4b8a0 100644 --- a/docs/api/Search.md +++ b/docs/api/Search.md @@ -152,7 +152,7 @@ as the ["Accept-Language" HTTP header](https://developer.mozilla.org/en-US/docs/ results when using Nominatim in the browser versus in a command-line tool like wget or curl. The command-line tools usually don't send any Accept-Language header, prompting Nominatim - to show results in the local language. Browsers on the contratry always + to show results in the local language. Browsers on the contrary always send the currently chosen browser language. ### Result restriction @@ -165,7 +165,7 @@ results and thus give a preference to some results over others. |-----------| ----- | ------- | | countrycodes | comma-separated list of country codes | _unset_ | -Filer that limits the search results to one or more countries. +Filter that limits the search results to one or more countries. The country code must be the [ISO 3166-1alpha2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country, e.g. `gb` for the United Kingdom, `de` for Germany.