Metadata-Version: 2.1
Name: bank-base-gt
Version: 0.0.1
Summary: Bank Parser Base Package for banks in Guatemala
Home-page: https://github.com/gt-banks-parser/banks-parser-base
Author: Carlos Simon
Author-email: dev@csimon.dev
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: bs4
Requires-Dist: money
Requires-Dist: babel

# 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.

## How to use it

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


```python
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()
```

