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
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
marblex.py-1.3.1.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file marblex.py-1.3.1.tar.gz
.
File metadata
- Download URL: marblex.py-1.3.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9d7ffe3b4a94407c85140ceab0e9c118e52e7d101064d3958f0aa33158244ff |
|
MD5 | d2efbfe08654d34691d80db476f8f594 |
|
BLAKE2b-256 | dca42792a5d00420884056ff59ff90139b40088c3f91506f35ff3fe11b40440a |
File details
Details for the file marblex.py-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: marblex.py-1.3.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b485438a967f7bbb5f08f694029a9a00f04f9afbc5cc4b3e80107c64ecdca4f3 |
|
MD5 | 3d38801ac43097dece4b0e26f800e683 |
|
BLAKE2b-256 | 6ed2775605a0ff6e2792d09fd2c9fbe6e99d61ccdd460bcc9bc10e33bd958b8f |