Popularity
0.6
Growing
Activity
0.0
Stable
0
1
1

Monthly Downloads: 2
Programming language: Elixir
License: Apache License 2.0
Tags: Third Party APIs    

mmExchangeRate alternatives and similar packages

Based on the "Third Party APIs" category

Do you think we are missing an alternative of mmExchangeRate or a related project?

Add another 'Third Party APIs' Package

README

MmExchangeRate

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
To check available currency list
MmExchangeRate.currencies()
To check today exchange rate
MmExchangeRate.today("usd") # default currency is usd if paramter is empty
To calculate rate with today exchange rate
MmExchangeRate.calculate(100, "usd") # default currency is usd if paramter is empty
To check exchange rate history
MmExchangeRate.from("dd-mm-yyyy", "usd") # default currency is usd if paramter is empty