Skip to main content

A CLI tool for managing bank account connections via GoCardless Bank Account Data API

Project description

GoCardless Bank Account Manager

A command-line interface (CLI) tool for managing bank account connections and retrieving financial data using the GoCardless (formerly Nordigen) Bank Account Data API.

Features

  • 🏦 Browse and connect to banks by country
  • 💰 Check account balances
  • 📊 View and download transactions
  • 🔄 Automatic token management
  • 📥 Bulk transaction export to CSV
  • 📥 Bulk transaction convert to CSV
  • 🌍 Multi-country support
  • 🔐 Secure credential management

Prerequisites

  • Python 3.6 or higher
  • GoCardless Bank Account Data API credentials (Secret ID and Secret Key)
  • Internet connection

Installation

  1. Clone this repository:
git clone https://github.com/thetombrider/gocardlessconnection
cd gocardlessconnection
  1. Install required dependencies:
pip install -r requirements.txt
  1. Create a .env file in the project root with your GoCardless credentials:
GOCARDLESS_SECRET_ID=your_secret_id
GOCARDLESS_SECRET_KEY=your_secret_key

Initial Setup

Generate initial access tokens by running:

python generate_token.py

Usage

Browse and Connect to Banks

python connector.py browse-banks --country IT

Check Account Balances

python connector.py check-balances --bank-id BANK_ID

View Transactions

python connector.py check-transactions --bank-id BANK_ID

Export Transactions to CSV

python connector.py export-transactions --bank-id BANK_ID

Convert Transactions to CSV

python connector.py convert-transactions --bank-id BANK_ID

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

gocardless_fintools-0.5.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gocardless_fintools-0.5-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file gocardless_fintools-0.5.tar.gz.

File metadata

  • Download URL: gocardless_fintools-0.5.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for gocardless_fintools-0.5.tar.gz
Algorithm Hash digest
SHA256 79cac243c9e8cce72d209bad72cbf5f362f0df5b6e5abe7ab86f7804d665a417
MD5 70c32b7806567644d3988a0c6113a0a4
BLAKE2b-256 554423e32cdb5d4101954c0e52df3fd0b1a15b30b6a6043c816e7b8e2947ac0e

See more details on using hashes here.

File details

Details for the file gocardless_fintools-0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for gocardless_fintools-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 13eecac37b9f17c2af89bc9a4261451134eb60792f0325b157a34d774d91a740
MD5 40535193a81e048ceb0ae80f20e1b980
BLAKE2b-256 a9f7948cbe5d3a62e456ef358f75243f2965c72d76ba1699c03a47e07c898c67

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