A python wrapper for limestone.finance
Project description
limestone-python
An api to access trusted token pricing data secured on Arweave and protected by provider's collateral.
Installation
pip install limestone-finance
Usage
Getting the latest price
from limestone_finance import get_price
price = get_price("AR")
Getting price at a specific block
from limestone_finance import get_price
price = get_price("AR", at_block=123456)
Data format
{
price: 11.74, //as Float
updated: '2021-02-25T07:55:00.467000', //as UTC Date string
}
Testing
python test_limestone.py
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
Built Distribution
File details
Details for the file limestone-finance-0.0.2.tar.gz
.
File metadata
- Download URL: limestone-finance-0.0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec382ab64da7da5724b8119e1fe28197c37403ebd30a837350477eeb300685b8 |
|
MD5 | e9e73d519a7f71a1bfaa5fed00d36f0e |
|
BLAKE2b-256 | 30a27e133dffcb7b1aa6a5cfe00b90d144c25c6bd631babf4a90ad8a48cf6b95 |
File details
Details for the file limestone_finance-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: limestone_finance-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab60dbaf6a6c501ef22faf521b9ea6a833fa51cea375b30ef2ff384048cc6524 |
|
MD5 | 6ad72a52f1ed2ac7d71c8518f5391024 |
|
BLAKE2b-256 | 0cce164583d9c3bafa03b55e4dc48f863f01c5c94fe8f60b1456b375b178a809 |