Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergioisidoro/ndeapy
A Nordea Open API python client using Uplink
https://github.com/sergioisidoro/ndeapy
Last synced: 23 days ago
JSON representation
A Nordea Open API python client using Uplink
- Host: GitHub
- URL: https://github.com/sergioisidoro/ndeapy
- Owner: sergioisidoro
- Created: 2019-08-17T12:15:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-17T19:39:32.000Z (over 5 years ago)
- Last Synced: 2024-10-04T20:41:06.049Z (3 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ndeapy
## [A Nordea open banking api](https://developer.nordeaopenbanking.com/) version 4 python client with uplink# How to use
0. Install requirements
```shell
pip install -r requirements.txt
```1. Export your client variables
```shell
export NDEAPY_CLIENT_ID=""
export NDEAPY_CLIENT_SECRET=""
export NDEAPAY_SIGNATURE_KEY="./QSealC-NordeaDevPortal.p12"
export NDEAPAY_SIGNATURE_KEY_PASSPHRASE="1111"
```Optionally pass them as kwars to the client constructor
```python
client = Ndeapy(
"TOKEN",
client_id="CLIENTID",
client_secret="SECRET"
)
```2. Pass the token to the client, and make your API calls
```python
from ndeapy import *
import jsonclient = Ndeapy("YOUR_TOKEN")
accounts = client.get_accounts()# Print accounts
print("Accounts response")
print(json.dumps(accounts, indent=4, sort_keys=True))
```# Currently supported operations
```
from ndeapy import *
import jsonclient = Ndeapy(
# VERY SECRET STUFF HERE...
)accounts = client.get_accounts()
print("Accounts response")
print(json.dumps(accounts, indent=4, sort_keys=True))test_account = accounts["response"]["accounts"][0]
account = client.get_account(test_account["_id"])print("Accounts detail")
print(json.dumps(account, indent=4, sort_keys=True))print("Accounts transactions")
transactions = client.get_transactions(test_account["_id"])
print(json.dumps(transactions, indent=4, sort_keys=True))
```