Skip to content

Jasoncheung94/go-football-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

go-football-cli is a project implemented in Go that utilizes the Cobra package. It uses an API to retrieve the latest updates of matches, top scorers, league standings and other information. This project requires an API Key to send HTTP requests otherwise it uses a demo mode which retrieves it's information from saved files located in the data folder.

Commands

Competitions

go run main.go competitions

Matches

go run main.go matches

Scorers

go run main.go scorers

Tables

go run main.go tables

Teams

go run main.go teams

Installation

go install github.com/jasoncheung94/go-football-cli@latest

Run: go-football-cli to start using the command. Note this needs an API Key to work or it will fail to read the demo data. Preferred installation is to clone the repo and run manually.

Helpful Links