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.
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.
Paste your X-Auth token into the .env
file after X_AUTH_TOKEN=
The requests, json and datetime packages are required, to install these run:
pip install -r requirements.txt
python3 football.py standings
Flags
compact
orc
- displays the compact version of the standings table.