Gil is a mix custom task for checking exchange rate.
- mix.exs
def deps do
[{:gil, "~> 0.0.2"}]
end
Get USD/EUR rate.
> mix gil USD EUR
USD/EUR: 0.8850
Set key currency.
- config/config.exs
config :gil,
key_currency: "eur"
> mix gil USD
EUR/USD: 1.1187
Default key currency is USD.
> mix gil EUR
USD/EUR: 0.8850
Copyright (C) 2015 Masatoshi Imae(@modal_soul)
Distributed under the MIT License.