Skip to content

tailucas/investec-pb-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

A simple sample application for the Python client for Investec Programmable Banking which performs an integration test against the Investec Bank API sandbox endpoint.

(back to top)

Setup

Install Poetry for dependency and runtime management, which already references the client library in the pyproject.toml configuration. Follow the instructions on the Poetry site here.

(back to top)

Example Usage

  1. Create the credentials file creds.properties in the project directory. This is clearly not best practice but good enough to test using the sandbox credentials located in the Investec API documentation.
[creds]
client_id = yAx...5eY
client_secret = 4dY...99r
api_key = eUF4....VBPT0
  1. From the project directory, run the python application.
poetry run python app

(back to top)

Limitations

At the time of writing, API sandbox functionality is limited to the account scope. The sample application uses a boolean variable card_sandbox to skip interactions with the card scope.

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Hits

About

Investec Programmable Banking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages