Skip to content

Add live tennis dashboard example - #22

Open
bensynapse wants to merge 2 commits into
marimo-team:mainfrom
bensynapse:live-tennis-dashboard
Open

Add live tennis dashboard example#22
bensynapse wants to merge 2 commits into
marimo-team:mainfrom
bensynapse:live-tennis-dashboard

Conversation

@bensynapse

Copy link
Copy Markdown

Summary

A reactive live-tennis scoreboard: live matches (set score, in-game points, serving marker, and a break-point marker derived from the raw score) plus upcoming fixtures, filterable by tour and player name. Data comes from the Live Tennis API; the notebook renders without an API key using bundled, clearly-labeled sample data (with a small inline fallback so the playground badge works too), and a free key unlocks the real live picture.

The notebook is polite to the API's free-tier budget (30 req/min, 100/day): refresh is manual by default and the optional mo.ui.refresh intervals are capped at 1 minute or slower, with the budget spelled out next to the control.

Contribution checklist

  • Example is in its own folder (live_tennis_dashboard/)
  • Package dependencies are in the notebook file as --sandbox inline script metadata (marimo, requests)
  • Folder README describes the example and how to run it (playground badge + uvx marimo edit --sandbox)
  • README includes instructions for adapting the notebook (using your own key, other endpoints/filters, extending the break-point logic)

Verified headlessly: uvx marimo export html --sandbox live_tennis_dashboard.py succeeds with no key and renders the sample data (that export is the screenshot in the README).

Disclosure: I maintain the Live Tennis API.

🤖 Generated with Claude Code

bensynapse and others added 2 commits August 16, 2026 16:21
A reactive live-tennis scoreboard on the Live Tennis API: live matches
(set score, points, serving and derived break-point markers) and upcoming
fixtures, with tour + player-search filters. Renders without an API key
via bundled sample data; refresh is manual or capped at >=1 minute to
respect the API's free-tier budget.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant