X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a234d606c9dcd76db1d69909bb78940d3dbcd862..330b8d2fdfdd935da123abf9ecf96b3bc7a12be5:/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.