FexrYahoo v0.2.0 FexrYahoo View Source
Documentation for FexrYahoo.
Link to this section Summary
Functions
Gets the exchange rate. an options is provided to select symbols, default is set to all available symbols
Gets the exchange rate. Raises on error
Lists all available symbols
Link to this section Functions
Gets the exchange rate. an options is provided to select symbols, default is set to all available symbols
Symbols
- if used only returns exchange rates for the selected symbols
Examples
iex> FexrYahoo.rates("USD", ["EUR"])
#=> {:ok, %{"EUR" => 0.8491}}
iex> FexrYahoo.rates(:USD, [:EUR])
#=> {:ok, %{"EUR" => 0.8491}}
Gets the exchange rate. Raises on error.
Symbols
- if used only returns exchange rates for the selected symbols
Examples
iex> FexrYahoo.rates("USD", ["EUR"])
#=> %{"EUR" => 0.8491}
iex> FexrYahoo.rates(:USD, [:EUR])
#=> %{"EUR" => 0.8491}
Lists all available symbols