Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
grindsa committed Feb 1, 2025
2 parents ffd0971 + b06b607 commit d494a21
Show file tree
Hide file tree
Showing 26 changed files with 6,664 additions and 3,825 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

This is a high-level summary of the most important changes. For a full list of changes, see the [git commit log](https://github.com/grindsa/dkb-robo/commits) and pick the appropriate release branch.

# Changes in 0.29

**Improvements**:

- Refactor library in separate classes to improve understandability and maintainability
- [unfiltered mode](doc/unfiltered.md)

**Bugfixes**:

- [#72](https://github.com/grindsa/dkb-robo/pull/72) - Update base path of legacy URLs
- [#71](https://github.com/grindsa/dkb-robo/pull/72) - Fix prepend_date logic

# Changes in 0.28.2

**Bugfixes**:
Expand Down
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,15 @@ you need to import dkb-robo into your script
create a new DKBRobo context handler and login to DKB portal

```python
> with DKBRobo(dkb_user=<login username>, dkb_password=<password>, chip_tan=True|False|qr, mfa_device=<m|int>, debug=True|False) as dkb:
> with DKBRobo(dkb_user=<login username>, dkb_password=<password>, chip_tan=True|False|qr, mfa_device=<m|int>, debug=True|False, unfiltered=True|False) as dkb:
```

- dbk_user: username to access the dkb portal
- dkb_password: corresponding login password
- chip_tan: (True/**False**/qr) TAN usage - when not "False" dbk-robo will ask for a TAN during login. So far this library only supports ["chipTAN manuell" and "chipTAN QR](https://www.dkb.de/fragen-antworten/was-ist-das-chiptan-verfahren). "qr" foces the usage of "chipTAN QR" all other values will trigger the usage of "chipTAN Manuell"
- mfa_device: ('m'/Integer) optional - preselect MFA device to be used for 2nd factor - 'm' - main device, otherwise number from device-list
- debug: (True/**False**) Debug mode
- unfiltered: (True/**False**) [Unfiltered mode](doc/unfiltered.md)

After login you can return a dictionary containing a list of your accounts, the actual balance and a link to fetch the transactions

Expand Down Expand Up @@ -300,11 +301,18 @@ A dictionary similar to the one below will be returned

```python
> pprint(exo)
{1: {'amount': 1602.0,
'available': 1602.0,
'description': u'Gemeinsam mit XXXX XXXX',
'used': 0.0,
'validity': u'01.01.2017 unbefristet'}}
[{'amount': 2000.0,
'currencycode': 'EUR',
'partner': {'dateofbirth': '1980-01-01',
'firstname': 'Jane',
'lastname': 'Doe',
'salutation': 'Frau',
'taxid': '1234567890'},
'receivedat': '2017-01-01',
'type': 'joint',
'used': 567.89,
'validfrom': '2020-01-01',
'validto': '9999-12-31'}]
```

To get the amount of dkb points the below method can be used
Expand Down
1,495 changes: 0 additions & 1,495 deletions dkb_robo/api.py

This file was deleted.

Loading

0 comments on commit d494a21

Please sign in to comment.