nod

nodeworldcup

Get worldcup scores straight from terminal

Showing:

Popularity

Downloads/wk

3

GitHub Stars

19

Maintenance

Last Commit

3yrs ago

Contributors

2

Package

Dependencies

3

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

worldcup

Forked from simoami/worldcup.

Inspired from the python version of worldcup.

Thanks for the API provided by Software for good.

The hacker's way to get worldcup scores!

pic

Installation

Node.js and NPM are required in order to install the woldcup command.

npm install nodeworldcup -g

The flag -g ensures that the worldcup command is installed and accessible globally.

Command usage

$ nodeworldcup -h

  Usage: nodeworldcup [current] [today] [tommorow] [groups]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
$ nodeworldcup current

Current match:

Uruguay                    1 - 0                    England
-----------------------------------o-----------------------
⚽  Being played now: an hour gone
$ nodeworldcup today

Today's matches:

Colombia                   2 - 1                Ivory Coast
-----------------------------------------------------------
⚽  Played Today at 9:00 AM. Colombia won

Japan                      0 - 0                     Greece
-----------------------------------------------------------
⚽  Will be played Today at 3:00 PM

Uruguay                    1 - 0                    England
----------------------------------o------------------------
⚽  Being played now: an hour gone
$ nodeworldcup tomorrow

Tomorrow's matches:

Italy                      0 - 0                 Costa Rica
-----------------------------------------------------------
⚽  Will be played Tomorrow at 9:00 AM

Switzerland                0 - 0                     France
-----------------------------------------------------------
⚽  Will be played Tomorrow at 12:00 PM

Honduras                   0 - 0                    Ecuador
-----------------------------------------------------------
⚽  Will be played Tomorrow at 3:00 PM
$ nodeworldcup groups

W  :Wins
D  :draws
L  :losses
GF :Goals for
GA :Goals against
KO :Knocked out

GROUP A
Teams                          W   D   L   GF   GA   KO
-----------------------------------------------------------
Brazil                         1   1   0   3    1    false
Mexico                         1   1   0   1    0    false
Croatia                        1   0   1   5    3    false
Cameroon                       0   0   2   0    5    false

GROUP B
Teams                          W   D   L   GF   GA   KO
-----------------------------------------------------------
Chile                          2   0   0   5    1    false
Netherlands                    2   0   0   8    3    false
Australia                      0   0   2   3    6    false
Spain                          0   0   2   1    7    false

...

LICENSE

MIT License.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial