Mbnk
Sync/Async Python3 Monobank API
Introduction
mbnk - python lib for:
• Monobank Open API
official docs: https://api.monobank.ua/docs/
lib docs: https://github.com/yeghorkikhai/mbnk/blob/master/docs/monobank_open_api.md
• Monobank Open API for providers
official docs: https://api.monobank.ua/docs/corporate.html
lib docs: https://github.com/yeghorkikhai/mbnk/blob/master/docs/monobank_corp_open_api.md
• MonoPay - Monobank Acquiring
official docs: https://api.monobank.ua/docs/acquiring.html
lib docs: https://github.com/yeghorkikhai/mbnk/blob/master/docs/monopay_api.md
Github
https://github.com/yeghorkikhai/mbnk
Installation
pip install mbnk
Get Started with Monobank Open API
Async example:
import os
import asyncio
from mbnk.asyncio import AsyncMonobankOpenAPI
async def main():
async_mono = AsyncMonobankOpenAPI(api_token=os.getenv("MONOBANK_API_TOKEN"))
currency_list = await async_mono.public.currency()
if __name__ == "__main__":
asyncio.run(main())
Sync example:
import os
from mbnk import MonobankOpenAPI
mono = MonobankOpenAPI(
api_token=os.getenv("MONOBANK_API_TOKEN")
)
# Get currencies rates list
currency_list = mono.public.currency()
Metadata
Release files for mbnk 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mbnk-0.4.2.tar.gz | 13.2 kB | Without provenance | Details for mbnk-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mbnk-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for mbnk-0.4.2-py3-none-any.whl |
Total release size: 38.4 kB
Release files / mbnk-0.4.2.tar.gz
| Download URL | mbnk-0.4.2.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bff018f607f3da600de266d287c50fd20a41e1370fa6f0d89eb595ab1e85b3e0
|
|
BLAKE2b-256 checksum How to use checksums |
90761012740d3ec4275fcad384366cf033540756652fa4034fa3518d34821dba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.8.10 Linux/5.4.0-156-generic
|
Release files / mbnk-0.4.2-py3-none-any.whl
| Download URL | mbnk-0.4.2-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6a6c72c4ded81c4ea641f25425e43f77bc7f8784ab45aaa1b7f8da48dbd1ca1
|
|
BLAKE2b-256 checksum How to use checksums |
e44ed7248da3d94243aee36235898f108ab64d208d7de51f69c1e7132116e4e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.8.10 Linux/5.4.0-156-generic
|
Security for mbnk 0.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.