跳到正文
TakoAPI
返回技能列表

baseball

由 khaney64 提供

Browser & Automation
403下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Fetch MLB game schedules, live game status, box scores, player search, and season statistics via the MLB Stats API.

描述

该技能的功能

Fetches MLB game schedules, live in-progress game status, box scores, player search results, and season batting/pitching statistics via the MLB Stats API. Supports lookup by team abbreviation, player name, or numeric game/player IDs. No authentication required.

The MLB Stats API is free and public, so this skill provides real-time game data without requiring any account or key.

何时使用

  • Check if today's Phillies game is in progress
  • Look up Aaron Judge's 2025 batting stats
  • Get the final box score from last Tuesday's Yankees game
  • Find which pitcher is starting for the Dodgers tonight
  • Browse the next week of Red Sox games

示例工作流

输入

User asks: What's happening in the Mets game right now?

智能体
  1. 1

    Run python scripts/baseball.py live NYM to find today's Mets game

  2. 2

    Parse the live status response for inning, count, runners, and matchup

  3. 3

    Read the line score for inning-by-inning runs

  4. 4

    Return current score, batter vs pitcher matchup, and last play description

输出

PHI Phillies 3 @ NYM Mets 5, Top 6th, 1 out, 2-1 count, Kyle Schwarber batting against Sean Manaea, runners on 1st and 3rd

安装

clawhub install khaney64/baseball

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接