Skip to content

tom-draper/football

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Football CLI

A Python script that fetches and displays real time football standings on the command line. The football data is retrieved from the FREE football data API football-data.org.

Installation

1. Create a free football data API account

This script uses football-data.org to fetch up-to-date football data. When running the script, the X-Auth token from your football-data.org account is required. On the free tier, your API key will allow up to 50 API calls per minute.

2. Copy your X-Auth token into the .env file

Paste your X-Auth token into the .env file after X_AUTH_TOKEN=

3. Install pip dependencies

The requests, json and datetime packages are required, to install these run:

pip install -r requirements.txt

Usage

Standings

python3 football.py standings

Flags

  • compact or c - displays the compact version of the standings table.

About

Get football updates through a CLI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published