4 Making Requests
procedure
(opencage-geocode client query [ #:params params]) → oc-response? client : opencage-client? query : string? params : (or/c hash? list?) = (hash)
Forward geocode the free–form query.
procedure
(opencage-reverse client lat lon [ #:params params]) → oc-response? client : opencage-client? lat : real? lon : real? params : (or/c hash? list?) = (hash)
Reverse geocode latitude/longitude.
Coordinates are formatted as "lat,lon" and passed as the q parameter.