Skip to main content

Bank Parser Base Package for banks in Guatemala. Provides models and base structure

Project description

Bank Base Parser for Guatemala Banks

Base models and clases to build parsers for Guatemalan Banks.

This library provides only models and base structure to develop further integrations with each individual bank.

Supported banks

How to use it

Installation

pip install bank_base_gt

Example to get movements of all accounts of Banrural bank, you should install first, banrural library

Example

credentials = UserPasswordBankLogin(username="", password="")


def test():
    with BanruralBank(credentials) as connection: # Login with bank and make sure that we logout after doing all operations
        accounts = connection.fetch_accounts() # Fetch all accounts
        for a in accounts:
            a.fetch_movements(
                datetime.date.today() - datetime.timedelta(days=20),
                datetime.date.today() + datetime.timedelta(days=1),
            )
            # Fetch all movements 


test()

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

bank_base_gt-0.5.1.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

bank_base_gt-0.5.1-py3-none-any.whl (15.8 kB view hashes)

Uploaded Python 3

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