Skip to main content

An Asynchronous Marblex API Wrapper for Python

Project description

marblex.py

An Asynchronous Marblex API Wrapper for Python

Installation

Windows:

$ pip install -U marblex.py

Linux/MacOS:

$ python3 -m pip install -U marblex.py

Example Usage:

import asyncio
from marblex import Marblex

mbx = Marblex()

async def main():

    async with mbx:
        nkt = await mbx.get_territe_token()
        nka = await mbx.get_asterite_token()

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

Uploaded Source

Built Distribution

marblex.py-1.3.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marblex.py-1.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 dedae1468b19e9e13d9150ef31430bc5f4a532f7cb33d721c288f548fc093522
MD5 823094ed8b092ac7257f70f243784633
BLAKE2b-256 d896d9a658d40f733cca05dfff1ff484921dadd3e1acb1054730deb7cd2b4cf4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: marblex.py-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a267fd6f8247a2b50e491ed24982a98536584d524c35793667aaa9963df66641
MD5 f9dac3fdf06d3601be2f77e3fa0fba22
BLAKE2b-256 081e13f54ed15fcf7c665e17ad5cdfa051e0e4a9c674ba0142d5ca2f73830acf

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