Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

limestone-finance-0.0.2.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

limestone_finance-0.0.2-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page