A CL package for querying exchange rates from openexchangerates.org and converting between currencies.
- clone it on
~/quicklisp/local-projectsor wherever your packages live. - edit
moneta/api-key.lispadding your api key:(defparameter *exchange-api-id* "lalala") - load it with
(ql:quickload :moneta) - test it with
(moneta:convert 1 "BTC" "BRL")or something.
The currency names live, bewilderingly, inside moneta::+currency-names+. They prolly should be keywords instead of strings.