Skip to main content

Clinet lib for integration with Nordigen banking API's

Project description

Nordigen API Client

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 indepth working examples can be found in ./examples. Also check out the test cases for usage examples.

Create a client instance

from nordigen import Client

client = Client(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"
#     }
#   ]
# }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nordigen-python-0.1.2.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file nordigen-python-0.1.2.tar.gz.

File metadata

  • Download URL: nordigen-python-0.1.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for nordigen-python-0.1.2.tar.gz
Algorithm Hash digest
SHA256 04147af20b3837cddea38df889ba1fc1931804bb77a7d4d95523a1a0b03eeca4
MD5 0d14832ab2c01954c7a8e112f671593d
BLAKE2b-256 d9c327f0651b5b1a8127a0dcb5e62f8892f774fd92be0ba1231c6e60ab74ca1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page