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.2.tar.gz
(8.7 kB
view details)
Built Distribution
umipy-2.1.2-py3-none-any.whl
(9.9 kB
view details)
File details
Details for the file umipy-2.1.2.tar.gz
.
File metadata
- Download URL: umipy-2.1.2.tar.gz
- Upload date:
- Size: 8.7 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 | b5be18757e98f1dcac4eab025b6c36c1bbe5a2716359f1e183e6067244fc03d6 |
|
MD5 | 1a3e71b0d358cc6c4c64522cc9bda819 |
|
BLAKE2b-256 | fa028c83035b8820dcd38f073b3c9e1377d1a8cfa48270560bb3824e3fde3e85 |
File details
Details for the file umipy-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: umipy-2.1.2-py3-none-any.whl
- Upload date:
- Size: 9.9 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 | 61832cf941134bfb3e316086753704093053e5595a30821ff85fc46925b0950d |
|
MD5 | d8bae0a0256cf9b1edee05aa13698dc8 |
|
BLAKE2b-256 | a4ddbe7fdf431495e8bc3037047b948c4ce7485c082b5c8716db6a38036997c3 |