Skip to content

Getting started

Up And Coding edited this page Jul 20, 2018 · 34 revisions

Instantiating the API

FixerApiLoader fixerApiLoader = (baseUrl, accessKey, baseCurrency); where baseUrl is the URL of Fixer.io web service, can be:

Supported Symbols Endpoint : Getting the List of Currencies from Fixer.io

List<Currency> currencies = fixerApiLoader.getSupportedCurrencies();

Latest Endpoint : Getting the most recent rates for a currency

List<ExchangeRate> rates = fixerApiLoader.getLatest(); or List<ExchangeRate> rates = fixerApiLoader.getLatest("USD,JPY,CAD"); or List<ExchangeRate> rates = fixerApiLoader.getLatest(arrayListOfCurrencies);

Clone this wiki locally