Football CLI

A command line interface for all the football data feeds in Ruby

Installation

$ gem install football_cli

Usage

Help

$ football_cli help

Show league table

$ football_cli show --league=PD

Show league table for a given day

$ football_cli show --league=PD --match_day=1

Show team players

$ football_cli show --team=FCB --players

Show team fixtures

$ football_cli show --team=FCB --fixtures

Show the output in csv or json

$ football_cli show --league=PD --format=json
$ football_cli show --league=PD --format=csv

Save the output in a file

$ football_cli show --league=PD --format=json --file=leagues.json
$ football_cli show --league=PD --format=csv --file=leagues.csv

Show live scores

$ football_cli live

Demo

League table

League table for a given day

Team players

Live scores

Todo

  1. Make api_token configurable
  2. Improve error handling
  3. Add more cucumber features
  4. And more ...