CurrencyConvertApi
Implementation for the API available in this site: https://free.currencyconverterapi.com
This uses Tesla library to make easier the access to the endpoint and Nebulex for the cache and avoid to perform so many queries to the service.
Installation
If available in Hex, the package can be installed
by adding currency_convert_api to your list of dependencies in mix.exs:
def deps do
[
{:currency_convert_api, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/currency_convert_api.
Usage
CurrencyConverterApi.convert_call "USD", "EUR"
# 0.876545Enjoy!