A library to get various cryptocurrency prices from the marblex API
Project description
marblex.py
A library to get various cryptocurrency prices from the marblex API.
Installation
pip install marblex.py
Example
import marblex
client = marblex.Client()
nkt = client.get_NKT()
nka = client.get_NKA()
print(f"NKT : {nkt.USD}$, Percent: {nkt.percent}")
print(f"NKA : {nka.USD}$, Percent: {nka.percent}")
# NKT : 1.47$, Percent: -4.22 %
# NKA : 3.56$, Percent: +1.61 %
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.0.1a0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file marblex.py-1.0.1a0.tar.gz
.
File metadata
- Download URL: marblex.py-1.0.1a0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c104ce0507bfefe1a58e8530fb32de32ad72d2825318f3a0477fab3eef7cd86f |
|
MD5 | ce6efc20a47ef827b2af648a6c7da25a |
|
BLAKE2b-256 | 6934562675d7fa6df01bc6aea4cd550f047a20b61e79e60d90739ecbdb8981e2 |
File details
Details for the file marblex.py-1.0.1a0-py3-none-any.whl
.
File metadata
- Download URL: marblex.py-1.0.1a0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67fa1cb3a069b80a588d86110590d1aaf74d3f78d0bf66459f1c6bec6f27074a |
|
MD5 | 78466dcd1ad6c4a5bdc53013c566c8d3 |
|
BLAKE2b-256 | 0d277866288d488dc9b811939aa44d4c08b054f80eaf160d2dbcfbbd391a7f80 |