Skip to main content

asyncio cryptocurrency prices library

Project description

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

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

aiocrypto_prices-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

aiocrypto_prices-0.0.1-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 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