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.2.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file marblex.py-1.3.2.tar.gz
.
File metadata
- Download URL: marblex.py-1.3.2.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 | fef8b0533c309b8b41434223a8e40e00b1a45001098bc203797a483f8a98af3a |
|
MD5 | c50067df88679c6158d7030d683ca261 |
|
BLAKE2b-256 | 9474c33274526fc49bd42c25df3d5df11c6391c3a9173f1a09ef9909d3107a86 |
File details
Details for the file marblex.py-1.3.2-py3-none-any.whl
.
File metadata
- Download URL: marblex.py-1.3.2-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 | 7450ccfbfa7f31a9c29c6103b53c66e81638c334fcc7503e60c06e43054d5e14 |
|
MD5 | f1cd25313e3384ac39bbd86ced271879 |
|
BLAKE2b-256 | b934cae828de8c151398f1473f7e6ab63537a627b1d398d85af898d04cfe09d9 |