Skip to content

op-developer/python-example-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-example-client

This example uses Requests HTTP Library

Prerequisite

  • Reqister an account at OP Developer
  • Create an application in OP Developer with access to OP Accounts V3.0 API product in sandbox environment

To use this example:

  • 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'
      
  • 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

About

Simple client example for OP APIs written in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages