Skip to content

Getting started

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

Getting the latest exchange rates for your base currency

FixerApiLoader fixerApiLoader = (baseUrl, accessKey, baseCurrency);    
List<ExchangeRate> rates = fixerApiLoader.getLatest();

where :

  • baseUrl is the URL of Fixer.io web service. Depending on your subscription plan, this can be one of the following: ** http://data.fixer.io/api/ ** or, https://data.fixer.io/api/

  • accessKey is the unique identification key of your Fixer.io account

  • baseCurrency is the base currency that will serve to calculations

This code gets a list of the latest exchange rates for your base currency.

To get a detailed description of each web service, please read the pages related to the endpoints:

  • Supported Symbols Endpoint
  • Latest Endpoint
  • Historical Endpoint
  • Time Series Endpoint
  • Fluctuation Endpoint
  • Conversion Endpoint

Clone this wiki locally