Skip to main content

api wrapper for umi.top crypto

Project description

UMIPY

codecov

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


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.1.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

umipy-2.2.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file umipy-2.2.1.tar.gz.

File metadata

  • Download URL: umipy-2.2.1.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for umipy-2.2.1.tar.gz
Algorithm Hash digest
SHA256 389393ae92b50d5c20a008fd17263d585f20825b8d0480d1eddbf61b2ea7f760
MD5 1007b4c71fae06d16baceba5961f6c5c
BLAKE2b-256 74f8647c402f273768eb48aca57c9feb4a20ae7b5c94b3855dd8a0c0bdf956da

See more details on using hashes here.

File details

Details for the file umipy-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: umipy-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for umipy-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37dfc59cbb6da63785b712c247e141d58dbe4f6ed9f6b98c576e58cfb8760041
MD5 577e92960c359a93d25d6e5af72df012
BLAKE2b-256 e79a50d89888ee876058fb856d9718fd58bb13852de8f7401250dd1982a64866

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page