Add live tennis dashboard example - #22
Open
bensynapse wants to merge 2 commits into
Open
Conversation
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>
for more information, see https://pre-commit.ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.refreshintervals are capped at 1 minute or slower, with the budget spelled out next to the control.Contribution checklist
live_tennis_dashboard/)--sandboxinline script metadata (marimo,requests)uvx marimo edit --sandbox)Verified headlessly:
uvx marimo export html --sandbox live_tennis_dashboard.pysucceeds 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