architv / soccer-cli

:soccer: Football scores for hackers. :computer: A command line interface for all the football scores.
MIT License
1.09k stars 221 forks source link

Adds flag to display upcoming games with their date and time. #66

Closed carlosvargas closed 8 years ago

carlosvargas commented 8 years ago

I noticed that the timeFrame url that we are using to get the past scores also returned the upcoming fixtures when you pass in the n query instead of p. I slightly modified the code and added a new flag so that we could have the option of seeing any upcoming games.

The command for it is:

soccer --time 2 --upcoming
soccer --time 2 --upcoming --use12hour

You can also use the --league and --team commands with it.

architv commented 8 years ago

Merged. Thanks @carlosvargas !