Skip to content

Latest commit

 

History

History
45 lines (23 loc) · 598 Bytes

README.md

File metadata and controls

45 lines (23 loc) · 598 Bytes

Python Example for OBP API

Setup

$ pip install -r requirements.txt

All scripts should run with either Python 2 or 3 .

settings.py

Edit settings.py to set your preferences like API_HOST, etc. The available settings are documented there.

Hello OBP

$ python hello_obp.py

Hello Payments

$ python hello_payments_v1.4.py

The other payments script is kept for historical reasons, better don't use it.

Import Sandbox

Edit the data to import in the script, then run:

$ python import_sandbox.py