NOTE: this repository is deprecated in favour of generating your own API client code using our OpenAPI specification, please refer to the documentation at https://developer.oanda.com/exchange-rates-api/#sample-code
OANDA Exchange Rates API client class for Java
This class provides an easy interface to the OANDA Exchange Rates API using Java. The API documentation page has a full reference of all the endpoints. This service requires you to sign up for a trial or paying subscription to obtain an API key.
Maven is used for building. Install from http://maven.apache.org/download.cgi. On Ubuntu, you can run sudo apt-get install maven.
Apache httpclient, httpcore, and commons-logging external jar files are referenced. Google's gson (https://code.google.com/p/google-gson/) is also used to parse json.
Include ExchangeRatesClient.java as part of the project, as well as dependent jar files. Usage example is shown in included Example.java.
James Chung <[email protected]>
This software is copyright (c) 2014 by OANDA Corporation and distributed under MIT License.