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.0.tar.gz
(8.4 kB
view details)
Built Distribution
umipy-2.1.0-py3-none-any.whl
(9.6 kB
view details)
File details
Details for the file umipy-2.1.0.tar.gz
.
File metadata
- Download URL: umipy-2.1.0.tar.gz
- Upload date:
- Size: 8.4 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 | c54926d510ae12f333cb0a44e194558369125d1e24a1dbe17582b140d2dd3bed |
|
MD5 | 0b8637567ff93f1859baf2ebdc8bcc9b |
|
BLAKE2b-256 | d53d093f9318d2f3529ba7969af2bee1f1bc1d9619bcb12361ae08ecd8c15c58 |
File details
Details for the file umipy-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: umipy-2.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 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 | 07da67c293a7cd6097eef7ef51c8167122b08e9af2227901d4586b83b41005c7 |
|
MD5 | 37d98d0114f1596a1c9c2ef1ca10a679 |
|
BLAKE2b-256 | 2ca7b80811519cb544ddce7978f6762a2eca1b08fb953f6e5e05f5044246df1d |