Skip to main content

A command line tool for displaying live soccer scores and statistics.

Project description

python PyPI version

⚠️ This project is currently under active development and considered experimental (all 0.1.x releases).

League Dashboard (lgdash)

Soccer/football at the command line. ⚽

Under the hood the app is calling the football-data.org API, so an API token from that service is required. Register here to get one.

Features

  • live scores
  • league standings
  • league schedules

Currently Supported Leagues

  • Premier League (England 🏴󠁧󠁢󠁥󠁮󠁧󠁿)
  • La Liga (Spain 🇪🇸)
  • Serie A (Italy 🇮🇹)
  • Bundesliga (Germany 🇩🇪)
  • Ligue 1 (France 🇫🇷)
  • UEFA Champions League (Europe)

Quick Start

Get API Token

If you don't have one, register for an API token here.

Then add this line with your token to .zshrc or another appropriate startup file.

export FOOTBALLDATA_API_TOKEN=<token>

Install

Available on PyPI.

pip install lgdash

How to Use

Today's Slate of Matches

Live scores and start times in local system time.

Example: Premier League (Default)
lgdash, or lgdash -l PL

Example: Serie A
lgdash -l SA

Standings

Current state of a league's standings with some statistics for each team.

Example: Premier League (Default)
lgdash standings

Example: Serie A
lgdash standings -l SA

Help

Each command and subcommand supports the --help option, for example:

lgdash --help and lgdash --help

Commands

lgdash

  • get live scores and today's scheduled matches
  • -l, --league: specify a league code

lgdash schedule

  • get upcoming matches
  • -l, --league: specify a league code
  • -d, --days: specify number of days in future

lgdash standings

  • get league standings
  • -l, --league: specify a league code

lgdash leagues

  • get all supported league codes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lgdash-0.1.3.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lgdash-0.1.3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file lgdash-0.1.3.tar.gz.

File metadata

  • Download URL: lgdash-0.1.3.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.2.0

File hashes

Hashes for lgdash-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fc138916452ee54191a868f912c0e589790cf864e1ed5261c88ab0df76f53a7b
MD5 6fe3e457b6b34e29440bcb1bd71409f0
BLAKE2b-256 a5148c4a88d4a4b4ff881064cee543d8b2cc2ebe261803693dc9eae9eb2b8d0b

See more details on using hashes here.

File details

Details for the file lgdash-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: lgdash-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.2.0

File hashes

Hashes for lgdash-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6dc764c8c3ac9bf906b5a7b3ca95fd9f685c5ea6034debb1c2333bfc5de805af
MD5 485e641cf68dec662bab6f0fa55fa63c
BLAKE2b-256 71db48d9e22793886314298e11f2eb4b8dc1972896a0777b5dfefca37f1bb7e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page