feat(coingecko): add CoinGecko crypto adapter with 10 commands#203
Open
0xsline wants to merge 2 commits intojackwener:mainfrom
Open
feat(coingecko): add CoinGecko crypto adapter with 10 commands#2030xsline wants to merge 2 commits intojackwener:mainfrom
0xsline wants to merge 2 commits intojackwener:mainfrom
Conversation
…in commands CoinGecko (4 commands, public API, no auth needed): - top: top cryptocurrencies by market cap with price and 24h change - trending: trending coins on CoinGecko - search: search for cryptocurrencies by name - coin: detailed info for a specific coin (price, 24h/7d/30d change, ATH) Supports multi-currency pricing via --currency flag (usd, eur, aud, etc.)
…hanges, gainers, losers New commands: - price: quick multi-coin price check via markets API - global: top 10 coins by market cap overview - categories: coin categories ranked by market cap (DeFi, Layer 1, etc.) - exchanges: top exchanges by trading volume with trust scores - gainers: top gaining coins by 24h change (sorted from 250 coins) - losers: top losing coins by 24h change All commands use public CoinGecko API, no auth needed.
2b4dee5 to
aa74846
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add comprehensive CoinGecko adapter with 10 public API commands for cryptocurrency data. No authentication needed.
New Commands
topopencli coingecko top --limit 10trendingopencli coingecko trendingsearchopencli coingecko search --query solanacoinopencli coingecko coin --id bitcoinpriceopencli coingecko price --ids "bitcoin,ethereum,solana"globalopencli coingecko globalcategoriesopencli coingecko categories --limit 10exchangesopencli coingecko exchanges --limit 10gainersopencli coingecko gainers --limit 10losersopencli coingecko losers --limit 10Supports
--currencyflag for multi-currency pricing (usd, eur, aud, cny, etc.)Test plan
top --limit 5— BTC $70,613, ETH $2,153, market caps and 24h changestrending— Akash Network, Zano, Bitcoin, Pudgy Penguinssearch --query solana— SOL rank npm 包缺少 github 目录导致模块找不到错误 #7, related tokenscoin --id bitcoin— price, 24h/7d/30d change, ATH $126,080price --ids "bitcoin,ethereum,solana"— 3 coins with price, change, market capglobal— top 10 coins by market cap overviewcategories --limit 5— Smart Contract Platform, Layer 1, PoWexchanges --limit 5— Binance, Gate, Bybit, Coinbase, OKXgainers --limit 5— Akash Network +11.69%losers --limit 5— Provenance -6.46%, Midnight -4.10%