A package for read operations for the comdirect API
Project description
Comdirect API
This is an unofficial python wrapper for the comdirect API for private consumers (April 2020).
This package currently only supports read operations, which include:
- Read balances and transactions
- Read depot information
- Read and download Documents
Install
Install the package using pip
pip install comdirect-api-simple
Usage
Initialize the client:
from comdirect_api.comdirect_client import ComdirectClient
client_id = '<your_client_id>'
client_secret = '<your_client_secret>'
client = ComdirectClient(client_id, client_secret)
Login with your credentials like so:
user = 'your_zugangsnummer'
password = 'your_pin'
client.fetch_tan(user, password)
After confirming the login on your photoTAN app you can activate your session.
client.activate_session()
You can refresh your token with:
client.refresh_token()
The the client is now ready for use, for example:
balances = client.get_all_balances()
print(balances['values'])
It is also possible to send a GET request to a self defined endpoint, for example:
client.get('reports/participants/user/v1/allbalances', productType='ACCOUNT')
More information about the official API can be found at https://developer.comdirect.de
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for comdirect-api-simple-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb69acc259dfc7abccb980f9776ff5b658937842bfcc02189ff329c04fdc3c24 |
|
MD5 | 53b1d39c43ece4452fc43a9df2a8c4d8 |
|
BLAKE2b-256 | 63c32cf2e4aa7ed061538325a520cb4013b18f5531a5f8df953aac283eb35df3 |
Close
Hashes for comdirect_api_simple-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d05a751212f0d914a0d8437781a7a5e289eb0245c67403d651faa6476bb4675 |
|
MD5 | de1496919d5da5d2097af8671a7e2e4b |
|
BLAKE2b-256 | 6e008a7ac3eb2fcc045710bb8ce6db34945245726e8488aa120e6c51f2ae0ef0 |