cricket-live
بواسطة harshilmathur
Coding Agents & IDEsموجز
**Live cricket scores, IPL tracking, and match alerts for OpenClaw.**.
الوصف
ما الذي تفعله هذه المهارة
Fetches live cricket scores, upcoming schedules, scorecards, and IPL standings from the CricketData.org API. Includes cron-compatible alert scripts that trigger on wickets, centuries, and match completions. Local caching manages the 100 calls/day free tier limit.
Combines live scores, IPL standings, match search, and cron-ready alerts in one agent interface without needing a separate cricket app or browser tab.
متى تستخدمها
- Checking live IPL scores during a match
- Finding upcoming India matches in the next 7 days
- Getting a full scorecard for a completed test match
- Setting up automated wicket and century alerts via cron
مثال على سير العمل
User asks: What are the live cricket scores right now?
- 1
Runs live-scores.sh to query the CricketData.org API
- 2
Checks local cache in /tmp/cricket-cache/ (2 min TTL) to avoid redundant API calls
- 3
Retrieves all currently live matches with scores, overs, and match status
- 4
Converts match times to IST and formats output as plain text with emoji annotations
A list of all live matches showing team scores, overs bowled, and current match status
المتطلبات
- CricketData.org API key (free tier available at cricketdata.org), set as CRICKET_API_KEY environment variable
التثبيت
clawhub install harshilmathur/cricket-liveشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.