The OANDA v20 REST API provides programmatic access to OANDA's next generation v20 trading engine.
Install using pip:
pip install v20
If you don't wish to use pip:
git clone https://github.com/oanda/v20-python.git
For documentation, usage and examples, see: http://developer.oanda.com/rest-live-v20/introduction and https://github.com/oanda/v20-python-samples