Skip to main content

An Asynchronous Marblex API Wrapper for Python

Project description

marblex.py

An Asynchronous Marblex API Wrapper for Python

Installation

Example Usage:

import asyncio
from marblex import Marblex

mbx = Marblex()

async def main():

    async with mbx:
        nkt = await mbx.get_NKT()
        nka = await mbx.get_NKA()

        print(f"NKT : {nkt.USD}$, Percent: {nkt.percent}")
        print(f"NKA : {nka.USD}$, Percent: {nka.percent}")

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

License

MIT

inspired by

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

marblex.py-1.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

marblex.py-1.2.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file marblex.py-1.2.0.tar.gz.

File metadata

  • Download URL: marblex.py-1.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for marblex.py-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b9bae2fca04d925c3e27eb8999d793fc8c7f3966ace117318949f966fad4b710
MD5 586eb3af7770a4f20e7deced712a7164
BLAKE2b-256 8b0e4e16e78110a97581bc5cb66aaac8ffe9b6c7f23c0edf7cf5a7b424efd432

See more details on using hashes here.

File details

Details for the file marblex.py-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: marblex.py-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for marblex.py-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80cb29809c330f7dc2b74b314916a8e8555b7efecbd6a24183803972b7215c28
MD5 9adf635ad99d945d610368aa53779959
BLAKE2b-256 599caead70f021cd9c5ee2d8df60205d1a3aec7ba9b81d9e3f88deedd65b3870

See more details on using hashes here.

Supported by

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