Metadata-Version: 2.1
Name: python-granatum
Version: 0.0.4
Summary: A Python wrapper for Granatum Financeiro
Home-page: https://github.com/dustinglass/python-granatum
Author: dustintheglass
Author-email: dustin.glass@gmail.com
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

# python-granatum

## Introduction

**python-granatum** is a Python wrapper for [Granatum Financeiro](https://www.granatum.com.br/financeiro/).

## Quick Start

Fill in the <values> in this script to get a [pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html) representation of transactions for a given account.
```
from datetime import date

from granatum import Granatum


end_date = date(2019, 8, 31)
start_date = date(2019, 8, 1)
filters = {'conta_id': ['<name of the account>']}

granatum = Granatum()
granatum.login('<email>', '<password>')
granatum.exportar(end_date, start_date, filters, 'pandas.DataFrame')
```


