Last active
November 23, 2022 21:32
-
-
Save lukaszlach/a05f8603c55abf41661aaac9d67733af to your computer and use it in GitHub Desktop.
FIFA World Cup Qatar 2022™ live results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)"' |
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