An Asynchronous Marblex API Wrapper for Python
Project description
marblex.py
An Asynchronous Marblex API Wrapper for Python
Installation
Example Usage:
import asyncio
from marblex import Marblex
mbx = Marblex()
async def main():
async with mbx:
nkt = await mbx.get_NKT()
nka = await mbx.get_NKA()
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.2.5.tar.gz
(6.5 kB
view details)
Built Distribution
File details
Details for the file marblex.py-1.2.5.tar.gz
.
File metadata
- Download URL: marblex.py-1.2.5.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63775f64cf9447981a8c6c1136418f7d10f7f51aee1bb16e46055ee4fd234847 |
|
MD5 | e7ea530c17ac24af15b2bbde142c705c |
|
BLAKE2b-256 | deb5bb1b0a6985eaa0f715ffd38055cae9127b812018f77f35f36caf2a9afa90 |
File details
Details for the file marblex.py-1.2.5-py3-none-any.whl
.
File metadata
- Download URL: marblex.py-1.2.5-py3-none-any.whl
- Upload date:
- Size: 7.7 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 | 02a0e68f3b6535e89b1ddb725fbf207b0ce2ee38b7bf71e0d56628849982c810 |
|
MD5 | 8c377e0b2885c05c91812b0d4c70cf62 |
|
BLAKE2b-256 | a0d07b628357867691419e924238e66ea8cd68f978dfa7b21d7dd0833919c539 |