Skip to main content

Get ATP and WTA tennis live scores quickly in your terminal.

Project description

Get Tennis Scores

Get ATP and WTA tennis live scores quickly in your terminal.

Written in Python, utilizes Textual.

Why a Tennis Scores Terminal App?

Sometimes when I'm working in my terminal (or in Emacs, really), I want a quick way to check on ATP and WTA scores, but I don't want to switch to my browser to do it. So why not have a way to check the scores in my terminal?

Features

  • Real-time ATP & WTA match & score tracking
  • Responsive grid layout that adapts to terminal resizing
  • JSON schema validation via Pydantic
  • Adjustable API polling interval

Limitations

Currently the app only tracks ATP and WTA singles events.

Additionally, the tennis score tracking data provided by ESPN's unofficial API is structurally limited.

  • Score Resolution: Point-by-point tracking (e.g., 15-0, 30-40, Ad-In) is not supported. The data feed exclusively provides aggregated game and set scores.
  • Tournament Availability: The API solely tracks tournaments that are currently in progress. It does not provide historical data for past tournaments or schedules for inactive, future events.

Installation

In progress

Configuration

The live score tracking refresh interval is adjustable at the top of the UI. The default is set to 30 seconds. A 10 second minimum is enforced to reduce the risk of API rate limiting.

There is little reason to having a low refresh interval anyway since the score tracks only games and sets, not points.

To-do

  • Incorporate doubles events
  • Add a player search feature
  • Add an indicator that a match is live
  • Add estimated time and dates for scheduled matches

Disclaimer

Not Affiliated with the Data Provider: This project is an independent, open-source educational tool. It is not affiliated with, endorsed by, sponsored by, or associated with ESPN, The Walt Disney Company, the ATP Tour, or the WTA Tour. "ESPN" and related trademarks are the property of their respective owners.

Unofficial API Usage: This application retrieves data utilizing an undocumented, unofficial API. By executing this software, you acknowledge the following risks:

  • Terms of Service: Automated extraction of data via this endpoint may violate the data provider's Terms of Service.
  • Assumption of Risk: You run this software entirely at your own risk. The author assumes no liability for any consequences arising from its use, including but not limited to IP address bans, network rate-limiting, or legal action initiated by the data provider against the end-user.
  • Application Stability: The upstream API schema, endpoints, and data structures are subject to modification at any time without public notice. Such changes will result in application crashes or data parsing failures until the repository's internal data models are manually updated to reflect the new API contract.

MIT License

This project is licensed under the MIT License - see the LICENSE file for details.

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

get_tennis_scores-0.1.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

get_tennis_scores-0.1.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file get_tennis_scores-0.1.0.tar.gz.

File metadata

  • Download URL: get_tennis_scores-0.1.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for get_tennis_scores-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d88ff23ad96df6c330e4d83c82518bb223a554fe94c5391ebc0ad12db759c729
MD5 aca44c6840dc50f7782b1a5d5916a56f
BLAKE2b-256 f4450e73d2d9ad49af19d1d67069d55de6e64cf85e06a8e3da386d5322070e9f

See more details on using hashes here.

File details

Details for the file get_tennis_scores-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for get_tennis_scores-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9aff1f91dadb64e8f91162301d66974a1669f579fbfba4d68726a8e61c5dff0
MD5 7963115844d273cb5145d6d6fe21cc69
BLAKE2b-256 b28b81d48a08f6663e02fce9f6fc74a1e2586b80a72eaccd29c9f03c85ce42dc

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