2018 FIFA World Cup results for hackers.
http://api.football-data.org/index
Data Source: http://api.football-data.org/v1/soccerseasons/424
After cloning the repository:
composer install
Important: You should set date.timezone on your php.ini
php app.php fixtures
Default argument is today. Also current, finished and all are supported arguments. With argument all you can specified team you want to see schedule/results. For example:
php app.php fixtures all -t Germany
You can always add worldcup18 alias on your .bashrc or .zshrc (That's how I use)
alias worldcup18='php projects/worldcup2018/app.php fixtures'
and use like this:
worldcup18 current
There's a dist/worldcup18.phar
in the archive, built with box2. You can simply install it if you don't want to keep the source folder, or want to use the phar file from a PATH.
mv dist/worldcup18.phar /usr/local/bin/worldcup18
chmod +x /usr/local/bin/worldcup18
And you can simply use it like:
worldcup18 fixtures all -t Germany