Skip to main content

Python library that allows you to retrieve bank details from the Credit Agricole website

Project description

Python Credit Agricole

DISCLAIMER : I AM NOT AFFILIATED TO THE CREDIT AGRICOLE IN ANY WAY, THIS IS AN UNOFFICIAL LIBRARY

I'm looking for help to support other countries. I only have access to a french account.

This library has been made in a way that it should be easy to add support for other countries.

To do so, simply add API endpoints to creditagricole/__init__.py.

Installation

$ pip install credit-agricole

Usage

There's a command line tool that will allow you to have a brief summary of your bank account :

$ creditagricole --help
usage: creditagricole [-h] [--country {france,italy,polska,ukraine,maroc,egypt}] [--region REGION]

Welcome to the Credit Agricole utility

options:
  -h, --help            show this help message and exit
  --country {france,italy,polska,ukraine,maroc,egypt}
                        the country you're in
  --region REGION       the region of the Credit Agricole you're affiliated to

For example you can run creditagricole --country france --region aquitaine.

But to be fair, this command line is not really useful.

This repo only contains the API to communicate with the Credit Agricole website, if you want to get valuable insights about your bank accounts, head over to the Work In Progress.

The API

from creditagricole import CreditAgricoleFrance

ca = CreditAgricoleFrance("aquitaine") # pass the region of your affiliated Credit Agricole

user_id = input("User ID: ")
pin_code = getpass("Pin code: ")

ca.login(user_id, pin_code)

for account in ca.accounts:
    print(account)

    for operation in account.operations:
        print(operation)

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

credit-agricole-0.1.3.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file credit-agricole-0.1.3.tar.gz.

File metadata

  • Download URL: credit-agricole-0.1.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for credit-agricole-0.1.3.tar.gz
Algorithm Hash digest
SHA256 833b0391c3c3f58d5b29ab36567d1ba8c4a9af4a320b2f3444e17101dafc155d
MD5 6f3b53d72f091dc75697b89adf093070
BLAKE2b-256 b82c90bbad51ad324c297760600d9aa9568f7eb49281db5ca609082f9dffe403

See more details on using hashes here.

Supported by

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