Liking cljdoc? Tell your friends :D

clj-currencylayer.core


comma-joinclj

source

currencylayer-domainclj

source

currencylayer-hostclj

source

currencylayer-host-httpclj

source

get-liveclj

(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
sourceraw docstring

http-optsclj

source

routesclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close