Skip to content

dr0pdb/f1-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F1-CLI

A CLI for techies who love Formula 1. The tool is written in Go and makes use of the following tools and APIs:

  1. Cobra
  2. Ergast Developer API
  3. Viper

Demo

Features

  • Check the F1 schedule of an year: schedule -y {year}. Eg: schedule -y 2018 will print the complete schedule of 2018 Formula 1 season.
  • Check the F1 schedule of a particular race of an year: schedule -y {year} -r {round_number}. Eg: schedule -y 2018 -r 4 will print the schedule of 2018 Azerbaijan Grand Prix.
  • Check the results of a particular race of an year: results -y {year} -r {round_number}. Eg: results -y 2018 -r 1 will print the final results of the 2018 Australian Grand Prix.

Development

This project uses go modules and hence it's not necessary to download the project in $GOPATH.

In order to contribute to this project please go through the following steps:

  • Fork the repository.
  • Run git clone https://github.com/{your_username}/f1-cli locally to pull the repo.
  • Run go build to build the module. This will create an executable named f1-cli.
  • Run the cli using ./f1-cli. Enjoy!

Future Plans

  • Schedule of a f1 season.
  • Schedule of a particular race of a year.
  • Race results.
  • Drivers Standings
  • Constructors Standings
  • Driver Information
  • Constructor Information

Liked it? 😍 Leave a star! ⭐

About

🚗 CLI for techies who love Formula 1

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages