mmExchangeRate
所属分类:collect
开发工具:Elixir
文件大小:0KB
下载次数:0
上传日期:2020-03-03 14:56:32
上 传 者:
sh-1993
说明: no intro
(Just a simple myanmar exchange rate checker and caculator based on Central Bank of Myanmar API with elixir,)
文件列表:
LICENSE (11325, 2015-04-14)
_build/ (0, 2015-04-14)
_build/dev/ (0, 2015-04-14)
_build/dev/lib/ (0, 2015-04-14)
_build/dev/lib/mmExchangeRate/ (0, 2015-04-14)
_build/dev/lib/mmExchangeRate/.compile.lock (5, 2015-04-14)
config/ (0, 2015-04-14)
config/config.exs (1030, 2015-04-14)
deps/ (0, 2015-04-14)
deps/httpotion/ (0, 2015-04-14)
deps/httpotion/.fetch (0, 2015-04-14)
deps/httpotion/.hex (15, 2015-04-14)
deps/httpotion/COPYING (474, 2015-04-14)
deps/httpotion/lib/ (0, 2015-04-14)
deps/httpotion/lib/httpotion.ex (5348, 2015-04-14)
deps/httpotion/mix.exs (742, 2015-04-14)
deps/ibrowse/ (0, 2015-04-14)
deps/jsx/ (0, 2015-04-14)
deps/jsx/.fetch (0, 2015-04-14)
deps/jsx/.hex (9, 2015-04-14)
deps/jsx/CHANGES.md (3940, 2015-04-14)
deps/jsx/LICENSE (1111, 2015-04-14)
deps/jsx/mix.exs (704, 2015-04-14)
deps/jsx/src/ (0, 2015-04-14)
deps/jsx/src/jsx.erl (14114, 2015-04-14)
deps/jsx/src/jsx_config.erl (11654, 2015-04-14)
deps/jsx/src/jsx_config.hrl (761, 2015-04-14)
deps/jsx/src/jsx_decoder.erl (80689, 2015-04-14)
deps/jsx/src/jsx_encoder.erl (3652, 2015-04-14)
deps/jsx/src/jsx_parser.erl (41874, 2015-04-14)
deps/jsx/src/jsx_to_json.erl (13696, 2015-04-14)
deps/jsx/src/jsx_to_term.erl (16090, 2015-04-14)
deps/jsx/src/jsx_verify.erl (3969, 2015-04-14)
lib/ (0, 2015-04-14)
lib/mmExchangeRate.ex (1761, 2015-04-14)
lib/sampleProj.ex (1048, 2015-04-14)
mix.exs (1306, 2015-04-14)
... ...
# MmExchangeRate
A simple exchange rate checker and calculator based on [Central Bank of Myanmar Api](http://forex.cbm.gov.mm/index.php/api) in elixir. You can find [it](https://hex.pm/packages/mmExchangeRate) on hex.
Before you try it, make sure you've install [elixir 1.*](http://elixir-lang.org/install.html)
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
近期下载者:
相关文件:
收藏者: