-
Notifications
You must be signed in to change notification settings - Fork 0
Conversion Endpoint
Up And Coding edited this page Jul 20, 2018
·
3 revisions
The following returns the conversion of 150.30 EUR in CHF :
FixerApiLoader fixerApiLoader = (baseUrl, accessKey, baseCurrency);
List<ExchangeRate> rates = fixerApiLoader.getConversion("EUR", "CHF", 150.30); where:
- fromCurrency is a 3-digits symbol of a supported currency
- targetCurrency is a 3-digits symbol of a supported currency
- amount is a double value
A FixerException is thrown in case of error.