Skip to content

A Python client library for interacting with Nordigen banking API which allows access to 100's of banks across Europe

License

Notifications You must be signed in to change notification settings

dogmatic69/nordigen-python

Repository files navigation

Nordigen API Client

Overview

GitHub Nordigen Quality Documentation Status

Automation

CI Coverage Quality Gate Status

Security

Security Rating Vulnerabilities

Quality

CodeFactor Duplicated Lines (%) Maintainability Rating Code Smells Technical Debt Bugs Reliability Rating

Compatibility

PyPi Python 3.8 Python 3.9 Python 3.10

Nordigen is a (always*) free banking API that takes advantage of the EU PSD2 regulations. They connect to banks in over 30 countries using real banking API's (no screen scraping).

Nordigen's API is an abstraction over the usual bank API's so that all data is in a consistent format. They also handle all the regulations required to get access to the data.

The client is built using the python api-client lib.

I found this info thanks to this site: https://www.bankapi.se/

* According to Nordigen's own website :)

Nordigen Info

Installation

pip install nordigen-python

Usage

Some more in-depth working examples can be found in ./examples. Also check out the test cases for usage examples.

Create a client instance

from nordigen import wrapper

client = wrapper(token="super-secret-token")

Listing available banks

banks = client.aspsps.by_country('SE')
print(banks)

# [
#   {
#     "id": "ABNAMRO_FTSBDEFAXXX",
#     "name": "ABN AMRO Bank Commercial",
#     "bic": "FTSBDEFAXXX",
#     "transaction_total_days": "558",
#     "countries": [
#       "DE"
#     ]
#   },
#   {
#     "id": "AACHENER_BANK_GENODED1AAC",
#     "name": "Aachener Bank",
#     "bic": "GENODED1AAC",
#     "transaction_total_days": "400",
#     "countries": [
#       "DE"
#     ]
#   },
#   ...
# ]

Fetching the balance of your account:

balance = client.account.balances("account-id")
print(balance)

# {
#   "balances": [
#     {
#       "balanceAmount": {
#         "amount": "-207.41",
#         "currency": "GBP"
#       },
#       "balanceType": "string",
#       "referenceDate": "2021-06-24"
#     },
#     {
#       "balanceAmount": {
#         "amount": "-649.63",
#         "currency": "GBP"
#       },
#       "balanceType": "string",
#       "referenceDate": "2021-06-21"
#     }
#   ]
# }

About

A Python client library for interacting with Nordigen banking API which allows access to 100's of banks across Europe

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published