Python wrapper for the CoinGecko API
Project description
Python API wrapper for CoinGecko API
This CoinGecko Python library provides convenient access to CoinGecko API.
Requirements
- Python 3.0+
- requests
Installations
The recommended way to install coingecko API wrapper is via pip
pip install --upgrade coingecko
Quickstart
Before you start, visit coingecko to obtain a demo/paid API key. After that, you can start using the API by:
import coingecko
# Demo API key
client = coingecko.CoinGeckoDemoClient(api_key=<insert_your_demo_api_key>)
# Paid API key
client = coingecko.CoinGeckoProClient(api_key=<insert_your_paid_api_key>)
# Test your API key with ping
response = client.ping.get()
Documentation
For the list of endpoints, visit CoinGecko API Documentation
For more informations, visit CoinGecko API Guide
Examples
A more detailed example will be released soon.
License
The library is available as open source under the terms of the MIT License.
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
coingecko-0.11.tar.gz
(9.8 kB
view hashes)
Built Distribution
coingecko-0.11-py3-none-any.whl
(15.6 kB
view hashes)