Metadata-Version: 2.1
Name: limestone-finance
Version: 0.0.2
Summary: A python wrapper for limestone.finance
Home-page: https://github.com/fabianriewe/limestone-python
Author: Fabian Riewe
Author-email: fabian@kyve.network
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: certifi (==2020.12.5)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: graphql-core (==2.3.2)
Requires-Dist: graphql-server-core (==1.2.0)
Requires-Dist: idna (==2.8)
Requires-Dist: promise (==2.3)
Requires-Dist: requests (==2.22.0)
Requires-Dist: Rx (==1.6.1)
Requires-Dist: simple-graphql-client (==0.0.4)
Requires-Dist: six (==1.15.0)
Requires-Dist: urllib3 (==1.25.11)

# 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
```python
from limestone_finance import get_price

price = get_price("AR")
```

### Getting price at a specific block
```python
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
```

