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.
Metadata
Release files for goat-sdk-plugin-coingecko 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| goat_sdk_plugin_coingecko-0.1.2.tar.gz | 3.2 kB | Without provenance | Details for goat_sdk_plugin_coingecko-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goat_sdk_plugin_coingecko-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for goat_sdk_plugin_coingecko-0.1.2-py3-none-any.whl |
Total release size: 7.2 kB
Release files / goat_sdk_plugin_coingecko-0.1.2.tar.gz
| Download URL | goat_sdk_plugin_coingecko-0.1.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bd1ea2e6891ad46e85f0b35b1294ae5180142fd8f8b155fd33c04bf419f07c7
|
|
BLAKE2b-256 checksum How to use checksums |
a6964066717149bccee9e493620a3053d0d5eb5fd18cd453663d423005a2e32e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Release files / goat_sdk_plugin_coingecko-0.1.2-py3-none-any.whl
| Download URL | goat_sdk_plugin_coingecko-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
861822c88986966e255b9b8667d1088fdb0d1c5b7777c9485b6b8b3432b99413
|
|
BLAKE2b-256 checksum How to use checksums |
229d03df7de2ac9ef4fc549d2da1d9b7c2b4cc591dca7dac924179c1bc7a4b20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Security for goat-sdk-plugin-coingecko 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.