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 hashes)
Built Distribution
Close
Hashes for marblex.py-1.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7822933a28dd7fa5fd0d46e6e50771b21ea97a76030de974111f3ee6f168cf1e |
|
MD5 | 4ede2a2378846c850a89a0718e938a8b |
|
BLAKE2b-256 | 4d2f7b9daddf1e72083434d09a54a7fa5e89ae52b139e5c4b478c1958ce7042c |