π¦ ClawHub
Soccer Cli
by @jrojas537
A CLI to check soccer scores, game details, and player stats from your terminal.
TERMINAL
clawhub install soccer-cliπ About This Skill
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
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
soccer-cli scores ""
Example: soccer-cli scores "Real Madrid"scores command)
soccer-cli game
Example: soccer-cli game 123456 soccer-cli squad
Example: soccer-cli squad 123456
π‘ Examples
soccer-cli scores ""
Example: soccer-cli scores "Real Madrid"scores command)
soccer-cli game
Example: soccer-cli game 123456 soccer-cli squad
Example: soccer-cli squad 123456