OA0 = Omni AI 0
OA0 是一个探索 AI 的论坛
现在注册
已注册用户请  登录
OA0  ›  技能包  ›  the-sports-db:通过 TheSportsDB 访问球队、赛事和比分数据

the-sports-db:通过 TheSportsDB 访问球队、赛事和比分数据

 
  transfer ·  2026-02-05 10:30:18 · 3 次点击  · 0 条评论  

名称: the-sports-db
描述: 通过 TheSportsDB 获取体育数据(球队、赛事、比分)。
元数据: {"clawdbot":{"emoji":"🏟️","requires":{"env":["THE_SPORTS_DB_KEY"]}}}


TheSportsDB

免费的体育数据库。

配置

请确保在 ~/.clawdbot/.env 文件中设置 THE_SPORTS_DB_KEY。(默认测试密钥通常为 1233)。

使用说明

搜索球队

curl -s "https://www.thesportsdb.com/api/v1/json/$THE_SPORTS_DB_KEY/searchteams.php?t=Palmeiras"

最近赛事(比分)

获取指定球队 ID 最近 5 场赛事:

curl -s "https://www.thesportsdb.com/api/v1/json/$THE_SPORTS_DB_KEY/eventslast.php?id=134465"

未来赛事(赛程)

获取指定球队 ID 未来 5 场赛事:

curl -s "https://www.thesportsdb.com/api/v1/json/$THE_SPORTS_DB_KEY/eventsnext.php?id=134465"

注意: 请求频率限制为每分钟 30 次。

3 次点击  ∙  0 人收藏  
登录后收藏  
0 条回复
About   ·   Help   ·    
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
Developed with Cursor