微算力 · API 导航与自营网关
API 接入 EN
未登录登录
⚽

终端秒查全球足球实况

Soccer Cli · v1.0.0
效率 安全 B 级 作者 jrojas537 公开目录收录
下载 1.3k 安装 0 收藏 3.5k 浏览 13
下载 zip

简介

终端实时查询足球比分、赛事详情与球员数据,需自备 API-Football 密钥。

原始描述

A CLI to check soccer scores, game details, and player stats from your terminal.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/soccer-cli/
其它 Agent解压到它自己的 skills 目录,目录名用 soccer-cli

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: "soccer-cli" version: "1.0.0" author: "J R" description: "A CLI to check soccer scores, game details, and player stats from your terminal." requires: bins: - name: "go" version: ">=1.18" install: "install.sh" usage: | soccer-cli scores "Manchester United" soccer-cli game <fixture_id> soccer-cli squad <fixture_id>

soccer-cli

A command-line interface to check soccer scores, game details, and player stats using the API-Football service.

Description

This skill provides a set of commands to quickly retrieve football data directly in your terminal. You can get the latest score for your favorite team, see detailed events from a specific match (like goals and cards), and view the full squad with player ratings and minutes played.

Installation

  1. Run the installer:

    ./install.sh
    

    This will compile the Go program and move the soccer-cli binary to ~/.local/bin/.

  2. Configure API Key: The CLI needs an API key from API-Football.

    Create a configuration file at ~/.config/soccer-cli/config.yaml:

    mkdir -p ~/.config/soccer-cli
    touch ~/.config/soccer-cli/config.yaml
    

    Add your API key to the file in the following format:

    apikey: YOUR_API_KEY_HERE
    

Usage

  • Get the latest score for a team:

    soccer-cli scores "<team-name>"
    

    Example: soccer-cli scores "Real Madrid"

  • Get detailed events from a game: (Use the Fixture ID from the scores command)

    soccer-cli game <fixture_id>
    

    Example: soccer-cli game 123456

  • Get the squad and player stats for a game:

    soccer-cli squad <fixture_id>
    

    Example: soccer-cli squad 123456

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

clifootballsports-dataapi-footballgoterminal

同类 Skill