(get-live params)
(get-live params host)
Returns the most recent exchange rate data. Pass all parameters via params
hash-map.
For API details see https://currencylayer.com/documentation
Parameter :currencies
is joined automatically, thus you can pass a sequece, e.g.: ["EUR" "CZK"]
It returns a tuple like [:keyword parsed-body original-response]
A :keyword
can be:
Returns the most recent exchange rate data. Pass all parameters via `params` hash-map. For API details see https://currencylayer.com/documentation Parameter `:currencies` is joined automatically, thus you can pass a sequece, e.g.: `["EUR" "CZK"]` It returns a tuple like `[:keyword parsed-body original-response]` A `:keyword` can be: - :ok when a response is a success and parsed - :error-XXX when a response is parsed but it's an error response (where XXX is an error code from https://currencylayer.com/documentation#error_codes) - :error-unmarshalling when a response is not a valid JSON
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close