Python client for the bunq public API





## Installation
Installing the latest release can be done from PyPi:
```
pip install bunqclient
```
The latest unreleased version can be installed from GitHub:
```
git clone https://github.com/bartbroere/bunqclient/
cd ./bunqclient
python setup.py install
```
## Usage
Before using it, make sure that you understand the cost scheme of this API.
Replace the value of the parameter ``secret`` with the API key generated in
the bunq app.
```python
from bunqclient import BunqClient
bunq = BunqClient(secret="")
```
To use the sandbox version change the ``base`` parameter. Note that you should
use a separate API key for this. A sandbox key can be acquired by asking bunq
support.
```python
from bunqclient import BunqClient
bunq_sandbox = BunqClient(base="https://sandbox.public.api.bunq.com/v1",
secret="")
```
``LIST`` requests are basically ``GET`` requests without a specified key. The
first two API calls have the same effect. The third requests a specific
``monetary-account``. Due to the way Python interprets variable names, dashes
(``-``) in API methods and keys should be replaced with underscores (``_``).
```python
bunq.request(method="LIST", monetary_account="", user=1)
bunq.request(method="GET", monetary_account="", user=1)
bunq.request(method="GET", monetary_account=11, user=1)
```
These API calls return a python dictionary with the query's result.
## Contributing
To report bugs and submit feature requests, please open an issue on GitHub.
Pull requests that resolve issues or TODO's are also greatly appreciated.
Metadata
Release files for bunqclient 2017.7.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bunqclient-2017.7.17.zip | 6.4 kB | Without provenance | Details for bunqclient-2017.7.17.zip |
Release files / bunqclient-2017.7.17.zip
| Download URL | bunqclient-2017.7.17.zip |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a34d1a51485522281cc66a8c3b21f84554f9061493e9918eb96b8f1b0a751145
|
|
BLAKE2b-256 checksum How to use checksums |
6d35ed9daf219fc9c6e8471b10a82d57739520e8dd10f93d64a2036f2497850e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for bunqclient 2017.7.17
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.