Discussion:
footty - football.db command line tool / client for world cup (russia 2018)
Gerald Bauer
2018-06-10 10:00:32 UTC
Permalink
Hello,

for the upcoming football world cup in russia 2018 - the world’s
biggest show (3+ billion fans) - I’ve put together a little command
line tool / client in ruby called footty that lets you query the
online football.db HTTP JSON API services for upcoming or past
matches. Try:

$ footty

resulting in:

** No matches scheduled today.
Upcoming matches:
#1 Thu Jun/14 (in 4d) Russia (RUS) vs Saudi Arabia (KSA)
Group A @ Luzhniki Stadium, Moscow
#2 Fri Jun/15 (in 5d) Egypt (EGY) vs Uruguay (URU)
Group A @ Ekaterinburg Arena, Ekaterinburg
#3 Fri Jun/15 (in 5d) Portugal (POR) vs Spain (ESP)
Group B @ Fisht Stadium, Sochi
#4 Fri Jun/15 (in 5d) Morocco (MAR) vs Iran (IRN)
Group B @ Saint Petersburg Stadium, Saint Petersburg
#5 Sat Jun/16 (in 6d) France (FRA) vs Australia (AUS)
Group C @ Kazan Arena, Kazan
#6 Sat Jun/16 (in 6d) Peru (PER) vs Denmark (DEN)
Group C @ Mordovia Arena, Saransk
#7 Sat Jun/16 (in 6d) Argentina (ARG) vs Iceland (ISL)
Group D @ Spartak Stadium, Moscow
#8 Sat Jun/16 (in 6d) Croatia (CRO) vs Nigeria (NGA)
Group D @ Kaliningrad Stadium, Kaliningrad
#9 Sun Jun/17 (in 7d) Brazil (BRA) vs Switzerland (SUI)
Group E @ Rostov Arena, Rostov-on-Don
#10 Sun Jun/17 (in 7d) Costa Rica (CRC) vs Serbia (SRB)
Group E @ Samara Arena, Samara
#11 Sun Jun/17 (in 7d) Germany (GER) vs Mexico (MEX)
Group F @ Luzhniki Stadium, Moscow
#12 Mon Jun/18 (in 8d) Sweden (SWE) vs South Korea (KOR)
Group F @ Nizhny Novgorod Stadium, Nizhny Novgorod
#13 Mon Jun/18 (in 8d) Belgium (BEL) vs Panama (PAN)
Group G @ Fisht Stadium, Sochi
#14 Mon Jun/18 (in 8d) Tunisia (TUN) vs England (ENG)
Group G @ Volgograd Arena, Volgograd
....


Enjoy the beautiful game with ruby. Kick off in four days. Cheers. Prost.


[1] https://github.com/sportdb/footty

Unsubscribe: <mailto:ruby-talk-***@ruby-lang.org?subject=unsubscribe>
<http://list

Loading...