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.1.1.tar.gz
(8.6 kB
view details)
Built Distribution
umipy-2.1.1-py3-none-any.whl
(9.8 kB
view details)
File details
Details for the file umipy-2.1.1.tar.gz
.
File metadata
- Download URL: umipy-2.1.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.10 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c9036763e5f5dcb200fcfe222d88250d42446c274cb16160803768831f4c323 |
|
MD5 | 67f3dd6a0da812ef3530dd6e96e8cf6d |
|
BLAKE2b-256 | 950f6b82fdcf100d216dd1728bc65edb47d6b3d6df696587542c0c9a34d05c06 |
File details
Details for the file umipy-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: umipy-2.1.1-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.10 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bd292bde4d3e08beed973b2cea2c35b73dce89d813b5e4a30abd670929bbb12 |
|
MD5 | ba1c79aeedc416e00ecf7ab37e7bda0b |
|
BLAKE2b-256 | ecfccaebf522ec64a75db2b88e976f4bc0da67e9c883ec884ed4155a92483d12 |