This example uses Requests HTTP Library
- Reqister an account at OP Developer
- Create an application in OP Developer with access to OP Accounts V3.0 API product in sandbox environment
-
Clone this repository
-
install Requests from pip
pip install requests
-
Set your enviroment variable X_API_KEY to be your api-key
- On bash
export X_API_KEY=your_api_key
- On Windows command prompt
set X_API_KEY=your_api_key
- On PowerShell
$env:X_API_KEY='your_api_key'
- On bash
-
Or change header from source code
-
Run code
python client.py
Example prints account and transaction information from account with 'FI3959986920207073' IBAN
For more information about our APIs, visit OP Developer website