Brasilapi.Exchange (BrasilAPI v0.1.5)

View Source

Exchange Rate module for BrasilAPI.

This module provides the main interface for currency exchange rate functionality, allowing users to get available currencies and exchange rates between Real and other currencies.

Summary

Functions

Gets all available currencies for exchange rate queries.

Gets the exchange rate between Real and another currency for a specific date.

Functions

get_currencies()

Gets all available currencies for exchange rate queries.

Delegates to Brasilapi.Exchange.API.get_currencies/0.

get_exchange_rate(currency, date)

Gets the exchange rate between Real and another currency for a specific date.

Delegates to Brasilapi.Exchange.API.get_exchange_rate/2.