Skip to main content

Goat plugin for Coingecko

Project description

CoinGecko Plugin for GOAT SDK

A plugin for the GOAT SDK that provides comprehensive cryptocurrency market data, price feeds, and analytics through the CoinGecko API.

Installation

# Install the plugin
poetry add goat-sdk-plugin-coingecko

# Install optional wallet dependencies for chain-specific operations
poetry add goat-sdk-wallet-evm
poetry add goat-sdk-wallet-solana

Usage

from goat_plugins.coingecko import coingecko, CoinGeckoPluginOptions

# Initialize the plugin
options = CoinGeckoPluginOptions(
    api_key="${COINGECKO_API_KEY}"  # Your CoinGecko API key
)
plugin = coingecko(options)

# Get token price data
prices = await plugin.get_token_prices(
    token_ids=["bitcoin", "ethereum"],
    vs_currencies=["usd", "eur"]
)

# Get detailed market data
market_data = await plugin.get_market_data(
    token_id="ethereum",
    include_community_data=True,
    include_developer_data=True
)

# Get historical price data
history = await plugin.get_price_history(
    token_id="bitcoin",
    vs_currency="usd",
    days=30,
    interval="daily"
)

Features

  • Market Data:

    • Real-time price feeds
    • Historical price data
    • Volume statistics
    • Market capitalization
  • Token Analytics:

    • Price change metrics
    • Trading volume analysis
    • Market dominance
    • Supply information
  • Additional Data:

    • Community metrics
    • Developer activity
    • Social statistics
    • Exchange listings
  • Supported Features:

    • Multi-currency support
    • Custom time intervals
    • Batch data retrieval
    • Rate limit handling
  • Market Categories:

    • Cryptocurrencies
    • DeFi tokens
    • NFT projects
    • Exchange tokens
    • Layer 1/2 tokens

License

This project is licensed 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

goat_sdk_plugin_coingecko-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goat_sdk_plugin_coingecko-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file goat_sdk_plugin_coingecko-0.1.2.tar.gz.

File metadata

  • Download URL: goat_sdk_plugin_coingecko-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for goat_sdk_plugin_coingecko-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0bd1ea2e6891ad46e85f0b35b1294ae5180142fd8f8b155fd33c04bf419f07c7
MD5 d376bf217a7f73ced889860d041e83bf
BLAKE2b-256 a6964066717149bccee9e493620a3053d0d5eb5fd18cd453663d423005a2e32e

See more details on using hashes here.

File details

Details for the file goat_sdk_plugin_coingecko-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for goat_sdk_plugin_coingecko-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 861822c88986966e255b9b8667d1088fdb0d1c5b7777c9485b6b8b3432b99413
MD5 d342b1079a60f8a2852572688cee7f9d
BLAKE2b-256 229d03df7de2ac9ef4fc549d2da1d9b7c2b4cc591dca7dac924179c1bc7a4b20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page