api wrapper for umi.top crypto
Project description
UMIPY
Interaction with umi blockchain
Install
for stable version
pip install umipy
for dev version
pip install https://github.com/RoyFractal/PyUmi/archive/master.zip
Usage
You can find more examples - examples/
simple getting a address data
import asyncio
import aiohttp
from umipy import UmiPy
async def main():
umi = UmiPy(session=aiohttp.ClientSession())
balance = await umi.get_balance(
"umi17ymaed9h9hq7s5pc2f5fhmlzpmsk3qtc6g2cgm360zysz0uvq44qnxlsuz"
)
print(balance)
trans = await umi.get_transactions(
"umi17ymaed9h9hq7s5pc2f5fhmlzpmsk3qtc6g2cgm360zysz0uvq44qnxlsuz"
)
print(trans)
await umi.close()
asyncio.run(main())
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
umipy-2.2.0.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
umipy-2.2.0-py3-none-any.whl
(10.1 kB
view details)
File details
Details for the file umipy-2.2.0.tar.gz.
File metadata
- Download URL: umipy-2.2.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18f972b772f3b5abd2a51c66253d6eac054c4c6ffec40705b94e578f307d2841
|
|
| MD5 |
eeac7b818b5f194ea1a83b9270e3037e
|
|
| BLAKE2b-256 |
0b350a1d777098a3684cdc86e4cb4811c25d6d08aa07097be01dd7183c1ca90e
|
File details
Details for the file umipy-2.2.0-py3-none-any.whl.
File metadata
- Download URL: umipy-2.2.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
873b90b30a06991ea3de5737b7d89230c8e838f6ef8b1729cb32dc56ddb4b881
|
|
| MD5 |
c6b218317e27cc86a58bc4e1e017a5b0
|
|
| BLAKE2b-256 |
1b184d8e228e6dac929461151ed93d7eb120186f1f95177337caacac6cb1ab40
|