Python wrapper around the CoinGecko API
Project description
CoinGecko API wrapper
Python3 wrapper around the CoinGecko API (V3)
Installation
pip install pycoingecko
Usage
from pycoingecko import CoinGeckoAPI
cg = CoinGeckoAPI()
API documentation
https://www.coingecko.com/api/docs/v3
Endpoints included
- ping
- /ping (Check API server status)
- simple
- /simple/price (Get the current price of any cryptocurrencies in any other supported currencies that you need)
- /simple/supported_vs_currencies (Get list of supported_vs_currencies)
- coins
- /coins/list (List all supported coins id, name and symbol (no pagination required))
- /coins/markets (List all supported coins price, market cap, volume, and market related data (no pagination required))
- /coins/{id} (Get current data (name, price, market, ... including exchange tickers) for a coin)
- /coins/{id}/tickers (Get coin tickers (paginated to 100 items))
- /coins/{id}/history (Get historical data (name, price, market, stats) at a given date for a coin)
- /coins/{id}/market_chart (Get historical market data include price, market cap, and 24h volume (granularity auto))
- /coins/{id}/status_updates (Get status updates for a given coin (beta))
- /coins/{id}/contract/{contract_address} (Get coin info from contract address)
- exchanges (beta)
- /exchanges (List all exchanges)
- /exchanges/{id} (Get exchange volume in BTC and top 100 tickers only)
- /exchanges/{id}/tickers (Get exchange tickers (paginated))
- /exchanges/{id}/status_updates (Get status updates for a given exchange (beta))
- status_updates (beta)
- /status_updates (List all status_updates with data (description, category, created_at, user, user_title and pin))
- events
- /events (Get events, paginated by 100)
- /events/countries (Get list of event countries)
- /events/types (Get list of events types)
- exchange_rates
- /exchange_rates (Get BTC-to-Currency exchange rates)
- global
- /global (Get cryptocurrency global data)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycoingecko-0.1.5.tar.gz
(3.2 kB
view details)
Built Distributions
pycoingecko-0.1.5-py3.7.egg
(7.0 kB
view details)
File details
Details for the file pycoingecko-0.1.5.tar.gz
.
File metadata
- Download URL: pycoingecko-0.1.5.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e288b4af09842c9d9bf01fd3f4c96bc6e496b374c4a99e95c281f5daef6caeb1
|
|
MD5 |
91e82c5013dc33642db0b9a4fb198cf4
|
|
BLAKE2b-256 |
d68e3595f1471c4882952821d6a4900f626130d87db456d76a531c3b51f0c56d
|
File details
Details for the file pycoingecko-0.1.5-py3.7.egg
.
File metadata
- Download URL: pycoingecko-0.1.5-py3.7.egg
- Upload date:
- Size: 7.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
354b9383da2381eb14ab449a85f851ddb1da10f2a3c69678eae9d7702971c67c
|
|
MD5 |
de19d50b4a7dddfb2a9bb3e9a22d73db
|
|
BLAKE2b-256 |
9f87337c84367b2d5f6aa340ace40fd7dc3d65ec0f0b388576c5665f93c66842
|
File details
Details for the file pycoingecko-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pycoingecko-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a2b8ae722f7403fe5775e6aacf343a7a1c81b8370176a2eb1b767ce7b232f0bc
|
|
MD5 |
06a5313633bac6c94dcc743cc574160c
|
|
BLAKE2b-256 |
5ecc502e35a5f221e25ad3d278c0ab7764a51856d12653138e360f68a8bd6574
|