alphavantage
Toggle table of contents
1.8.0
java
Target filter
java
Switch theme
Search in API
Skip to content
alphavantage
alphavantage
/
com.crazzyghost.alphavantage.exchangerate
/
ExchangeRate
Exchange
Rate
public
final
class
ExchangeRate
implements
Fetcher
Access to Exchange Rate Data.
Author
Sylvester Sefa-Yeboah
Since
1.0.0
Members
Constructors
Exchange
Rate
Link copied to clipboard
public
void
ExchangeRate
(
Config
config
)
Functions
fetch
Link copied to clipboard
public
void
fetch
(
)
Performs a fetch operation.
fetch
Sync
Link copied to clipboard
public
ExchangeRateResponse
fetchSync
(
)
Makes a blocking synchronous http request to fetch the data.
from
Currency
Link copied to clipboard
public
ExchangeRate
fromCurrency
(
String
fromCurrency
)
on
Failure
Link copied to clipboard
public
ExchangeRate
onFailure
(
Fetcher.FailureCallback
callback
)
Handles request failure
on
Success
Link copied to clipboard
public
ExchangeRate
onSuccess
(
Fetcher.SuccessCallback
<
ExchangeRateResponse
>
callback
)
Handles request success
to
Currency
Link copied to clipboard
public
ExchangeRate
toCurrency
(
String
toCurrency
)