Haven't made changes to the params to osm_search because obviously this would break compatibility with existing usage.
I also added into the script an example of how to use country_codes, because I took a long time to work out the proper syntax for that myself! Thought it might be helpful to others.
Also change
address_details
toaddressdetails
but I haven't tested that.As documented at https://nominatim.org/release-docs/develop/api/Search/#parameters
Compare:
Haven't made changes to the params to
osm_search
because obviously this would break compatibility with existing usage.I also added into the script an example of how to use
country_codes
, because I took a long time to work out the proper syntax for that myself! Thought it might be helpful to others.