/worldcup

World cup results for hackers. Uses Soccer For Good API

Primary LanguagePythonMIT LicenseMIT

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
```