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 = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
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.0.6.tar.gz
(4.0 kB
view hashes)
Built Distribution
monobankua-0.0.6-py3-none-any.whl
(16.6 kB
view hashes)
Close
Hashes for monobankua-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e9bdc1b78d70e0fb42b05a0019986bb6128b281c0e03f06438e0cadd31d6538 |
|
MD5 | 5ed7cf0549afc8c558c2a7cffb672347 |
|
BLAKE2b-256 | 9bdb751915660e5d849797820b687efe6e2d238acb2c8c48cc5a6a0753449d30 |