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
Quick Example
from marblex import Marblex
mbx = Marblex()
nkt = mbx.get_NKT()
nka = mbx.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.1.0a0.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file marblex.py-1.1.0a0.tar.gz
.
File metadata
- Download URL: marblex.py-1.1.0a0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dea47d38b5920a572d043fa44a7d73e4ca85c47b00e807e76c67fb7f21854b30 |
|
MD5 | 8f9052768ccaa7df8b00d1afcb6a6905 |
|
BLAKE2b-256 | 5f7eab007c85955e1a38392b1bced3043b537b07998204b18f93580c2e0dfc27 |
File details
Details for the file marblex.py-1.1.0a0-py3-none-any.whl
.
File metadata
- Download URL: marblex.py-1.1.0a0-py3-none-any.whl
- Upload date:
- Size: 6.4 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 | 4b8816bb56458957d5f43eeecf89ba93038790d4eb8f661cc113deb678331825 |
|
MD5 | 6e16f4ef4061784deac43095bc2face9 |
|
BLAKE2b-256 | bed380883a8923ac269ca057b8e69b42f39a2cb5117bbfcbb9ca7c326cf125a7 |