Skip to content

World cup results for hackers. Uses Soccer For Good API

License

Notifications You must be signed in to change notification settings

ggingell/worldcup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

World Cup results for hackers. Uses Soccer For Good API.

http://softwareforgood.com/soccer-good/

worldcup.py

Note: You can ignore the results on screenshot. I did it by manually :)

Installing

Just use the pip.

pip install worldcup

Usage

If you run the worldcup directly, fetches and prints all matches. You can pass today or current options to filter matches.

$ worldcup today

 Brazil                         1 - 1                        Croatia
------------------------o-------------------------------------------
 ⚽  Being played: 34. minute


 Mexico                         1 - 0                       Cameroon
--------------------------------------------------------------------
 ⚽  Played 4 days ago. Winner: Mexico


 Spain                          1 - 5                    Netherlands
--------------------------------------------------------------------
 ⚽  Played 4 days ago. Winner: Netherlands


 Chile                          3 - 1                      Australia
--------------------------------------------------------------------
 ⚽  Played 4 days ago. Winner: Chile

About

World cup results for hackers. Uses Soccer For Good API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published