Skip to content

Latest commit

 

History

History
53 lines (30 loc) · 1.57 KB

README.2020.md

File metadata and controls

53 lines (30 loc) · 1.57 KB

Euro 2020 (in 2021)

Usage - Who's playing today?

The footty command line tool lets you query the online football.db HTTP JSON API services for upcoming or past matches. For example:

$ footty              # Defaults to today's euro 2020 (in 2021) matches

prints on Jun/14 2021:

#20 Mon Jun/14         Scotland (SCO)   vs   Czech Republic (CZE)   Group D / Matchday 1
#25 Mon Jun/14           Poland (POL)   vs   Slovakia (SVK)         Group E / Matchday 1
#26 Mon Jun/14            Spain (ESP)   vs   Sweden (SWE)           Group E / Matchday 1

and the next day with footty yesterday:

#20 Mon Jun/14         Scotland (SCO) 0-2 (0-1) Czech Republic (CZE)   Group D / Matchday 1
#25 Mon Jun/14           Poland (POL) 1-2 (0-1) Slovakia (SVK)         Group E / Matchday 1
#26 Mon Jun/14            Spain (ESP) 0-0       Sweden (SWE)           Group E / Matchday 1

prints on Jun/15 2021:

#31 Tue Jun/15          Hungary (HUN)    vs    Portugal (POR)         Group F / Matchday 1
#32 Tue Jun/15           France (FRA)    vs    Germany (GER)          Group F / Matchday 1

and so on. Use tomorrow or t or +1 to print tomorrow's matches e.g.:

$ footty tomorrow    # -or-
$ footty t

Use yesterday or y or -1 to print yesterday's matches e.g.:

$ footty yesterday    # -or-
$ footty y

Use upcoming or up or u to print all upcoming matches e.g.:

$ footty upcoming    # -or-
$ footty up

Use past or p to print all past matches e.g.:

$ footty past    # -or-
$ footty p

That's it. Enjoy the beautiful game.