Skip to main content

asyncio cryptocurrency prices library

Project description

# aiocrypto_prices

Very early version - API WILL CHANGE!

## Install

$ pipenv install aiocrypto_prices


$ 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 `

Project details

Download files

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

Files for aiocrypto-prices, version
Filename, size File type Python version Upload date Hashes
Filename, size aiocrypto_prices- (6.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size aiocrypto_prices- (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page