A simple exchange rate checker and calculator based on Central Bank of Myanmar Api in elixir. You can find it on hex.
Before you try it, make sure you've install elixir 1.* In mix.exs,
defp deps do
[
{:ibrowse, github: "cmullaparthi/ibrowse", tag: "v4.1.0"},
{:mmExchangeRate, "~> 0.0.1"}
]
end
MmExchangeRate.currencies()
MmExchangeRate.today("usd") # default currency is usd if paramter is empty
MmExchangeRate.calculate(100, "usd") # default currency is usd if paramter is empty
MmExchangeRate.from("dd-mm-yyyy", "usd") # default currency is usd if paramter is empty