Skip to content

Instantly share code, notes, and snippets.

@lukaszlach
Last active November 23, 2022 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaszlach/a05f8603c55abf41661aaac9d67733af to your computer and use it in GitHub Desktop.
Save lukaszlach/a05f8603c55abf41661aaac9d67733af to your computer and use it in GitHub Desktop.
FIFA World Cup Qatar 2022™ live results
curl -sSfL 'https://api.fifa.com/api/v3/calendar/matches\?idCompetition=17&idSeason=255711' | \
jq -r '.Results | .[] | select(.MatchStatus == 3) | "\(.Home.ShortClubName) \(.Home.Score):\(.Away.Score) \(.Away.ShortClubName) \t@ \(.Stadium.Name[0].Description), \(.Stadium.CityName[0].Description) \t@ \(.StageName[0].Description)"'
@lukaszlach
Copy link
Author

Zrzut ekranu 2022-11-23 o 21 42 03

@lukaszlach
Copy link
Author

lukaszlach commented Nov 23, 2022

watch -t -n 5 docker run --rm lukaszlach/fifa
only live matches are shown, so the output can be empty if none is being played at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment