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.1.4.tar.gz (8.7 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.1.4-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for umipy-2.1.4.tar.gz
Algorithm Hash digest
SHA256 a7a492b27fb8632abccebf8939692703a49aa9b26bb779aa4ed03ecfc2b69c4b
MD5 2d6b51afe5cbcb82355bd06ec6e0870a
BLAKE2b-256 2d1f74af37783be9c7b47b474322899f964b0a3ee9fd213cc3493401cf31b217

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for umipy-2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 893712bd098aa2b937d62d6c53b25ead437a7cc6a32b2a85024ebc4fb85eb12d
MD5 ab0faf6af5c622081332fbc194ac74ed
BLAKE2b-256 d18906cdbc35bb857fb7b318c85725c137798cc15588d1ee53db55fac42f52d0

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