Overpex v0.3.0 Overpex.API
Provides a function to query the Overpass API
Summary
Functions
Query Overpass API
Functions
Query Overpass API
Return values
If the query is successfull, the function returns {:ok, response}
, where response
is a tuple {:format, body}
. :format
is either :xml
or :json
, and body
is a String with the raw body. If an error occurs, the function returns {:error, error}
, where error
is a String describing the error.