MiraiEx
Python package for interacting with MiraiEx' (refferal) API.
MiraiEx (not refferal)
THIS PACKAGE DOES NOT CURRENTLY SUPPORT PRIVATE ENDPOINTS.
Installation
Install and update using pip
pip install --upgrade miraiex
Usage
>>> from miraiex import MiraiEx, floatify, BITCOIN, XRP
>>> miraiex = MiraiEx()
>>> miraiex.get_market(BITCOIN) # or get_prices(BTC) or "BTCNOK". Predefined tickers can be found in markets.py
{'last': '480408.40', 'high': '533400.00', 'change': '-7.77', 'low': '460000.00', 'volume': '46.86'}
>>> miraiex.get_markets() # or get_tickers()
[{'id': 'BTCNOK', 'last': '473000.20', 'high': '533400.00', 'change': '-9.25', 'low': '460000.00', 'volume': '47.21'}, ...]
>>> floatify(miraiex.get_market(XRP))
{'last': 9.4, 'high': 10.95, 'change': -14.16, 'low': 7.44, 'volume': 1291258.8}
Documentation
MiraiEx' official documentation can be found here.
Metadata
Release files for miraiex 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| miraiex-0.0.5.tar.gz | 2.9 kB | Without provenance | Details for miraiex-0.0.5.tar.gz |
Release files / miraiex-0.0.5.tar.gz
| Download URL | miraiex-0.0.5.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff53950dc346b2ac77e92a5f40c5aa8cbde20d512fc994b3ebb6873e1b89413f
|
|
BLAKE2b-256 checksum How to use checksums |
27f4e275614cb4166e926b2bebb95be8c6e2ccfd402843a978c4424f958ccdb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
|
Security for miraiex 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.