Skip to main content

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

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.1.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

coingecko-0.11.1-py3-none-any.whl (15.7 kB view hashes)

Uploaded 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