About The Project
A simple Python client library to interact with the Investec Bank API, one of a number of existing client implementations which are also mentioned in the acknowledgement section below. This client has a few noteworthy features:
- No runtime dependencies outside of the Python built-in functionality.
- A single client interface
InvestecOpenApiClientwhich inherits function definitions for all supported API scopes. - Full support for switching to API sandbox endpoints with a single client parameter
use_sandbox. - Additional HTTP headers can be specified to optimize client performance, such as
{'Accept-Encoding': 'gzip, deflate, br'}. - Full separation of implementation between API scope implementations for ease of extensions.
Limitations
- At the time of writing, API support is limited to the account scope and limited card scope. Pull requests are welcome.
- Although Investec Bank publish their API schema as an Open API specification, I had specific difficulty in generating a client from only the JSON schema files using a few options. More experimentation is needed to obviate the need to write a client from first principles.
Setup
Get the package on PyPi.
I recommend the use of Poetry for dependency and runtime management. Follow the instructions on the Poetry site here.
Example Usage
For an example of how this library works, check out this simple sample application.
License
Distributed under the MIT License. See LICENSE for more information.
Acknowledgments
Additional well-established Python clients built by the Investec Programmable Banking community:
Investec Open API:
This project benefits from these supporting projects:
Metadata
Release files for investec-api-python 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| investec_api_python-0.0.1.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| investec_api_python-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / investec_api_python-0.0.1.tar.gz
| Download URL | investec_api_python-0.0.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c946c136bbb03fabdbcca21dfbdf4c40da8c007cbd7c8f4b714d20990fd3647f
|
|
BLAKE2b-256 checksum How to use checksums |
7676ba85bd84a9c09187e1db0758b90eee1b31fc348e2b10c4fc2f540866d046
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
|
Release files / investec_api_python-0.0.1-py3-none-any.whl
| Download URL | investec_api_python-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83a40f13cda26db660f6439913fb566bd77565970cdd13fb862b7f6fc5aa872b
|
|
BLAKE2b-256 checksum How to use checksums |
0ef74460941268f859eab15ed0f595e091b820282b8c7ba07351cf04c606d735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
|