-
Notifications
You must be signed in to change notification settings - Fork 0
Getting started
Up And Coding edited this page Jul 20, 2018
·
34 revisions
FixerApiLoader fixerApiLoader = (baseUrl, accessKey, baseCurrency);
where baseUrl is the URL of Fixer.io web service, can be:
accessKey is the unique identification key of your Fixer.io account
baseCurrency is the base currency that will serve to calculations
List<Currency> currencies = fixerApiLoader.getSupportedCurrencies();
List<ExchangeRate> rates = fixerApiLoader.getLatest();
or
List<ExchangeRate> rates = fixerApiLoader.getLatest("USD,JPY,CAD");
or
List<ExchangeRate> rates = fixerApiLoader.getLatest(arrayListOfCurrencies);