Skip to content

cpursley/ex_currency_live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExCurrencyLive

An Elixir library for streaming currency exchange rates from www.investing.com

Uses ex_currency for fetching currency.

Installation

def deps do
  [
    {:ex_currency_live, git: "https://github.com/cpursley/ex_currency_live.git"}
  ]
end

Usage

Start exchange rates worker

iex> ExCurrencyLive.exchange_rates_worker("usd", "rub")
:ok

Fetch cached exchange rates

iex> ExCurrencyLive.exchange_rates_fetcher("usd", "rub")
%ExCurrency.Rates{from: "usd", rate: "64.3130", to: "rub"}

About

An Elixir library for streaming currency exchange rates from https://www.investing.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages