Client to consume Banco Inter APIs
Project description
Banco Inter
Client to consume Banco Inter APIs
- Documentation: https://bancointer.readthedocs.io.
Installation
pip install bancointer
How to Use
High-level API
from inter import Inter
inter = Inter.from_credentials(
"YOUR_CLIENT_ID",
"YOUR_CLIENT_SECRET"
'/path/to/certificado.crt',
'/path/to/chave.key',
)
Low-level API
from datetime import date
from inter import Client as Inter
inter = Inter(
"YOUR_CLIENT_ID",
"YOUR_CLIENT_SECRET"
'/path/to/certificado.crt',
'/path/to/chave.key',
)
# get September/2022 statements
inter.get_statements(date(2022, 9, 1), date(2022, 9, 30))
Contributing
Contributions are welcome, feel free to open an Issue or Pull Request.
Pull requests must be for the develop
branch.
git clone https://github.com/lucasrcezimbra/bancointer
cd bancointer
git checkout develop
python -m venv .venv
source .venv/bin/activate
pip install .[test]
pre-commit install
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bancointer-0.0.4.tar.gz
(13.0 kB
view details)
Built Distribution
File details
Details for the file bancointer-0.0.4.tar.gz
.
File metadata
- Download URL: bancointer-0.0.4.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
83ab26ab1dc9b9c48c5c2ecd78451ffb1681c503c96c5cb61d73e96edbaffcfc
|
|
MD5 |
5916dfb0f46b721dcfcd5abc72fd261a
|
|
BLAKE2b-256 |
029ddaa74702a75722871a8f3f02754dff883326415339a73dc710a91e3c9bec
|
File details
Details for the file bancointer-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: bancointer-0.0.4-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e2bdaa304ab59075636c82ab6d6a993f5da7886c1023133717e63f6b7f543aa1
|
|
MD5 |
68db19980a698d6517c58324c6e6588d
|
|
BLAKE2b-256 |
e86ef9718b1375f61360d769103addf2683ba6ac217310e78eec7083eea27cf1
|