Metadata-Version: 2.1
Name: qonto-client
Version: 0.2
Summary: A python client for Qonto
Home-page: https://github.com/krezreb/qonto-client
Author: krezreb
Author-email: josephbeeson@gmail.com
License: MIT
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: ofxtools
Requires-Dist: requests
Requires-Dist: schwifty

# Qonto python client

Provides a basic interface for querying and exporting Qonto transactions using the [v2 API](https://api-doc.qonto.com/docs/business-api/ZG9jOjI5NjA5OQ-getting-started)

# Requirements

- python3 with pip


# Installation

```
pip install qonto_client
```

```
git clone https://github.com/krezreb/qonto-client.git
cd qonto-client
pip3 install  --user -r requirements.txt
```

# Exporting OFX 

A script to export to OFX is provided, you'll need your Qonto API ID and secret key, available in your Qonto settings
You'll also need your IBAN, upper case without spaces

Set `ID`, `KEY`, `IBAN` environment variables

```
export ID=your_org-12345
export KEY=YOURSECRETKEY12345678
export IBAN=FR7612345000019876543212345
```

Export all transactions as OFX format

`python3 export_ofx.py`

Export all transactions from last month as OFX format

`python3 export_ofx.py --last-month`

All options available via the `--help` command

`python3 export_ofx.py --help`

# Found a BUG, need a feature?

This project was written over a weekend because of a last minute requirement.  Documentation and features are sketchy.
If you found a problem with the code or want a new feature, Open an issue 🍺 ☕



