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.3.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file marblex.py-1.3.3.tar.gz
.
File metadata
- Download URL: marblex.py-1.3.3.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 | d4e2d24f527fe219e53d83615f1afc32268d8f41e8f41481850677f63b4fe6e0 |
|
MD5 | e30ac758b020496a40f8cdb5f480d8d9 |
|
BLAKE2b-256 | bcaa860d7a155b7fe49c4cbd6071fad3df8b4ebdef93be5a72da1af6c88fcac0 |
File details
Details for the file marblex.py-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: marblex.py-1.3.3-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 | 7822933a28dd7fa5fd0d46e6e50771b21ea97a76030de974111f3ee6f168cf1e |
|
MD5 | 4ede2a2378846c850a89a0718e938a8b |
|
BLAKE2b-256 | 4d2f7b9daddf1e72083434d09a54a7fa5e89ae52b139e5c4b478c1958ce7042c |