0.0
No commit activity in last 3 years
No release in over 3 years
A command line interface for all the football data feeds in Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

Travis Master

Football CLI

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

Installation

$ gem install football_cli

Configuration

To use this gem you have to have an account at football-data.org. Then, execute the following command in your terminal:

$ football_cli config api_token <API-TOKEN>

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

Help

To get more help about usage, execute the following command in your terminal:

$ football_cli help