feat: add GitHub Trending, Binance, and Weather adapters (24 commands)#214
Open
0xsline wants to merge 2 commits intojackwener:mainfrom
Open
feat: add GitHub Trending, Binance, and Weather adapters (24 commands)#2140xsline wants to merge 2 commits intojackwener:mainfrom
0xsline wants to merge 2 commits intojackwener:mainfrom
Conversation
GitHub Trending (2 commands, browser mode): - repos: trending repositories with stars, forks, language filter - developers: trending developers with popular repos Supports --since daily/weekly/monthly and --language filter Binance (11 commands, public API via data-api.binance.vision): - top: top trading pairs by 24h volume - price: single pair 24h price stats - prices: latest prices for all pairs - ticker: 24h ticker statistics - gainers: top gaining pairs by 24h change - losers: top losing pairs by 24h change - trades: recent trades for a pair - depth: order book bid prices - asks: order book ask prices - klines: candlestick/kline data - pairs: list active trading pairs Weather / Open Meteo (11 commands, free public API, no key needed): - current: current weather for a city - forecast: daily forecast up to 16 days - hourly: hourly forecast - search: city geocoding lookup - air: air quality index (simple) - air-quality: detailed air quality (US/EU AQI, PM2.5, PM10, ozone, NO2, SO2) - sunrise: sunrise/sunset times with UV index - wind: detailed wind forecast with gusts and 80m altitude - precipitation: rain/snow forecast with probability - history: historical weather up to 92 past days - compare: side-by-side weather comparison across cities All 24 commands tested with live data. 258 existing tests pass.
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 3 new adapters with 24 commands covering developer trends, crypto trading data, and weather forecasts.
New Commands
GitHub Trending (browser mode, public pages)
reposopencli github-trending repos --language python --since weeklydevelopersopencli github-trending developers --limit 10Binance (public API via
data-api.binance.vision, no auth)topopencli binance top --limit 10priceopencli binance price --symbol BTCUSDTpricesopencli binance prices --limit 10tickeropencli binance ticker --limit 10gainersopencli binance gainers --limit 10losersopencli binance losers --limit 10tradesopencli binance trades --symbol BTCUSDTdepthopencli binance depth --symbol BTCUSDTasksopencli binance asks --symbol BTCUSDTklinesopencli binance klines --symbol BTCUSDTpairsopencli binance pairs --limit 10Weather / Open Meteo (free public API, no key needed)
currentopencli weather current --city tokyoforecastopencli weather forecast --city sydney --days 7hourlyopencli weather hourly --city london --hours 12searchopencli weather search --query melbourneairopencli weather air --city beijingair-qualityopencli weather air-quality --city tokyosunriseopencli weather sunrise --city pariswindopencli weather wind --city sydneyprecipitationopencli weather precipitation --city tokyohistoryopencli weather history --city melbourne --days 7compareopencli weather compare --cities "tokyo,sydney,london"Technical Notes
article.Box-rowelements (no official API)data-api.binance.visionmirror to avoid geo-restrictions onapi.binance.comsearchis the only fetch-only command (no browser needed)Test plan
github-trending repos— MoneyPrinterV2 379 stars today, systemd 112 starsgithub-trending developers— Nathan Brake, Azure SDK Botbinance top— trading pairs with volumebinance price --symbol BTCUSDT— BTC $70,632binance price --symbol ETHUSDT— ETH $2,148binance prices/ticker/gainers/losers— all return databinance trades/depth/asks/klines/pairs— all return dataweather current --city melbourne— 15.2°C, Fog, 99% humidityweather forecast --city tokyo— 7-day forecastweather hourly/search/air/air-quality/sunrise/wind/precipitation/history/compare— all return data