Monobank.ua API client
Project description
Python-monobankua
Python client library for Monobank API.
Installation
pip3 install monobankua
Requirements
- python >= 3.7
- requests >= 2.21
- ecdsa >= 0.13.2
Usage
- Create your token at https://api.monobank.ua/
- Use it to initialize client. Sample code:
from datetime import datetime
from monobankua import Monobank
TOKEN = "xxxxxxxxxxxxxxxxxxxxx"
monobank = Monobank(TOKEN)
currencies_info = monobank.currencies_info()
print(*currencies_info, sep='\n')
client_name, webhook_url, accounts = monobank.client_info()
print(client_name)
print(webhook_url)
for account in accounts:
print(f'{account.currency.name}: {account}')
statements = monobank.statements(account.id, datetime(2019, 6, 25))
print(*statements, sep='\n')
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
monobankua-0.2.5.tar.gz
(5.2 kB
view hashes)
Built Distribution
monobankua-0.2.5-py3-none-any.whl
(18.0 kB
view hashes)
Close
Hashes for monobankua-0.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9edbf6f69baced570dc63a0f928824f08a18d40e41638f7b2da14f96f4a8c637 |
|
MD5 | dee92e694de1f2a77f9b0b021c2ed1a0 |
|
BLAKE2b-256 | 7721bc4bdd84bf5b99a61873fe77604e01b2ebf487335f32be2bfa9e31537510 |