View Source ExNominatim.Client.SearchParams (ExNominatim v1.1.0)
The struct for a request to the /search
API endpoint.
Summary
Functions
Construct a new %SearchParams{}
struct from the content of the keyword list opts
, while taking into account that a request to the /reverse
API endpoint requires either a free-form query with the keyword :q
assigned a value or a structured query with values defined for at least one of :amenity
, :street
, :city
, :county
, :state
, :country
and :postalcode
, but not both.
Functions
Construct a new %SearchParams{}
struct from the content of the keyword list opts
, while taking into account that a request to the /reverse
API endpoint requires either a free-form query with the keyword :q
assigned a value or a structured query with values defined for at least one of :amenity
, :street
, :city
, :county
, :state
, :country
and :postalcode
, but not both.