Metadata-Version: 2.1
Name: stp-scraper
Version: 0.0.3
Summary: Extract sent and received transactions of an STP account.
Home-page: https://github.com/cuenca-mx/stp-scraper
Author: Cuenca
Author-email: dev@cuenca.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: requests (<2.22.0,>=2.21.0)
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-vcr ; extra == 'test'
Requires-Dist: pycodestyle ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'

[![Coverage Status](https://coveralls.io/repos/github/cuenca-mx/stp-scraper/badge.svg?branch=stp-script&t=V0q7kh)](https://coveralls.io/github/cuenca-mx/stp-scraper?branch=stp-script)
[![Build Status](https://travis-ci.com/cuenca-mx/stp-scraper.svg?token=MSMdx4sxrH14mMPzx2Cx&branch=master)](https://travis-ci.com/cuenca-mx/stp-scraper)
[![PyPI](https://img.shields.io/pypi/v/stp-scraper.svg)](https://pypi.org/project/stp-scraper/)

# stp-scraper
STP scraper library for obtaining all transactions given a range of dates.

## Requirements
Python 3.7+

## Installation
```bash
pip install stp_scraper
```

## Tests
```bash
make test
```

## Basic usage
Get transactions of prior week
```python
import stp_scraper
stp_scraper.extract(None, None)
```

Get transactions for specific dates
```python
import stp_scraper
stp_scraper.extract('01/02/2019', '15/02/2019')
```

## Release to PyPi

```bash
pip install -U setuptools wheel twine
make release
# PyPi will prompt you to log in
```

