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
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, accounts = monobank.client_info()
print(client_name)
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.1.7.tar.gz
(4.1 kB
view hashes)
Built Distribution
monobankua-0.1.7-py3-none-any.whl
(16.8 kB
view hashes)
Close
Hashes for monobankua-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8aa2e3ad00f7f898654838acc3c8e15fe1814d5c1469ca99c208bfe46e5fc7d |
|
MD5 | d9d2815a164d586496b5b98c2e746af4 |
|
BLAKE2b-256 | 13b7ae067875de53e56f3ab62ba2525811b8357a5ca74c7e873422018ba7ee37 |