返回顶部
b

baseball棒球

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.3
安全检测
已通过
764
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

baseball

棒球 — MLB 比赛追踪器

通过 MLB Stats API 获取实时 MLB 比赛日程、比赛实时状态、比分详情、球员搜索和赛季统计数据。

快速开始

bash

列出今日比赛


python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py games

费城人队比赛实时状态

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py live PHI

指定比赛的比分详情

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py score 718415

上周二费城人队的比分详情

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py score PHI --date 02/15/2026

搜索球员

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py player Judge

按球队筛选搜索

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py player Wheeler --team PHI

按ID查询球员赛季数据

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py stats 592450

按姓名查询球员赛季数据

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py stats Aaron Judge --season 2025

使用方法

列出球队

bash

显示所有球队缩写


python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py teams

列出比赛

bash

今日比赛


python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py games

指定日期的比赛

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py games --date 09/15/2025

未来7天的比赛

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py games --days 7

指定球队未来一周的比赛

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py games --team PHI --days 7

按球队筛选

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py games --team PHI

JSON 输出

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py games --format json

比赛实时状态

显示进行中比赛的实时计数、跑垒员、击球员/投手对决和逐局得分。

bash

按球队缩写(查找今日比赛)


python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py live PHI

按比赛PK

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py live 718415

指定日期的比赛状态

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py live NYY --date 02/10/2026

JSON 输出

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py live PHI --format json

比分详情

显示任何比赛(进行中或已结束)的逐局得分。

bash

按球队缩写(今日比赛)


python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py score PHI

按比赛PK(适用于任何比赛,过去或现在)

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py score 718415

按球队缩写查询过去日期

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py score PHI --date 02/15/2026

JSON 输出

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py score PHI --format json

搜索球员

bash

按姓氏搜索


python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py player Judge

按全名搜索

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py player Aaron Judge

按球队筛选

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py player Wheeler --team PHI

JSON 输出

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py player Judge --format json

球员数据

bash

按球员ID(来自球员搜索结果)


python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py stats 592450

按球员姓名(唯一匹配时自动解析)

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py stats Aaron Judge

指定赛季

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py stats Aaron Judge --season 2024

JSON 输出

python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py stats 592450 --format json

输出格式

文本(默认)

比赛列表:

MLB 比赛 - 2025年9月15日
客队 战绩 主队 战绩 时间 状态 比赛ID



PHI 费城人队 85-62 NYM 大都会队 80-67 7:10 PM 进行中 718415
BOS 红袜队 72-75 TB 光芒队 78-69 6:40 PM 已结束 (5-3) 718420

实时状态:

PHI 费城人队 3 @ NYM 大都会队 5
第6局上半 | 1出局 | 2-1球数
跑垒员: 一垒 [X] 二垒 [ ] 三垒 [X]
打席: Kyle Schwarber vs 投手: Sean Manaea
上一球: Trea Turner 左外野平飞安打。

1 2 3 4 5 6 7 8 9 R H E
PHI 0 1 0 2 0 0 - - - 3 7 1
NYM 2 0 0 1 2 0 - - - 5 9 0

比分详情:

已结束: PHI 费城人队 6 @ NYM 大都会队 4

1 2 3 4 5 6 7 8 9 R H E
PHI 0 1 0 2 0 0 2 0 1 6 11 0
NYM 2 0 0 1 2 0 0 0 0 4 9 1

球员:

球员搜索: Judge
ID 姓名 位置 球队 号码 B/T 年龄



592450 Aaron Judge RF NYY 洋基队 99 R/R 33

数据(击球):

Aaron Judge #99 RF | 纽约洋基队 | R/R | 年龄 33
2025赛季击球数据
G AB R H 2B 3B HR RBI SB BB K AVG OBP SLG OPS
152 541 137 179 30 2 53 114 12 124 160 .331 .457 .688 1.145

数据(投球):

Zack Wheeler #45 P | 费城费城人队 | L/R | 年龄 35
2025赛季投球数据
G GS W L ERA IP H R ER HR SO BB SV HLD WHIP K/9 BB/9
30 30 14 6 2.85 198.1 155 68 63 18 210 42 0 0 0.99 9.55 1.91

JSON

json
{
date

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 baseball-1776419954 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 baseball-1776419954 技能

通过命令行安装

skillhub install baseball-1776419954

下载

⬇ 下载 baseball v0.1.3(免费)

文件大小: 13.69 KB | 发布时间: 2026-4-17 18:50

v0.1.3 最新 2026-4-17 18:50
- Updated all usage examples to use the full absolute path to the script (python3 /home/claw/.openclaw/workspace/skills/baseball/scripts/baseball.py)
- No changes to features or skill logic; documentation updated only

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部