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, 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.3.tar.gz
(5.1 kB
view hashes)
Built Distribution
monobankua-0.2.3-py3-none-any.whl
(17.9 kB
view hashes)
Close
Hashes for monobankua-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3f13e39b2d24bf3f885de425b9ae7d8260ea21017e2730ba93be88c708f2f3 |
|
MD5 | beea3d9f51197772b515191cc3fdc8a5 |
|
BLAKE2b-256 | 6541fd1e667f4403096b74329e0968e5be625c8d3da7ae036b719a8b2196aa79 |