Metadata-Version: 2.0
Name: aiocrypto-prices
Version: 0.0.1
Summary: asyncio cryptocurrency prices library
Home-page: UNKNOWN
Author: David Jetelina
Author-email: david@djetelina.cz
License: MIT
Description-Content-Type: UNKNOWN
Keywords: cryptocurrency finance crypto bitcoin asyncio
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: aiohttp (>=2.3.9)

# aiocrypto_prices

Very early version - API WILL CHANGE!

## Install

`$ pipenv install aiocrypto_prices`

or

`$ pip install aiocrypto_prices --user`

## Usage

Behind the scenes we are (currently) using cryptocompare's API,
which means all of the symbols need to be in their format and supported
by them.

### Simple

```python
>> from aiocrypto_prices import currencies
>> await currencies.ETH.prices.get('USD')
1053.28
```

### Advanced

Useful for loading things in parallel.

Careful, if you're not accessing the target price through `get`,
it might not reload after cache expires
```python
>> from aiocrypto_prices import currencies
>> currencies.add(['BTC', 'ETH', 'IOT'])
>> await currencies.load_all()
>> currencies.IOT.prices.USD
2.79
```


