Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 1.57 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.57 KB

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

java-exchange-rates

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.

Installation

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.

Usage

Include ExchangeRatesClient.java as part of the project, as well as dependent jar files. Usage example is shown in included Example.java.

Author

James Chung <[email protected]>

Copyright and License

This software is copyright (c) 2014 by OANDA Corporation and distributed under MIT License.

Release History