Skip to content

1.1.0: boundaries, over-by-over, matches by day/year, Ground (#54 #42 #28 #34 #8) - #89

Merged
soodoku merged 5 commits into
masterfrom
innings-boundaries-overs
Oct 23, 2026
Merged

soodoku merged 5 commits into
masterfrom
innings-boundaries-overs

Conversation

@soodoku

@soodoku soodoku commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Four commits, each from data the library already reaches (no new endpoints beyond ESPN's core venue records and the Statsguru results table already used for player stats). Stacked on #88.

Not built, on purpose: ball-by-ball/commentary (#58) — the match page carries only the first over's deliveries; Country (#3) — the core API only has current squads.

pyright --verifytypes: 100%. 149 unit tests; new live tests pass.

🤖 Generated with Claude Code

@soodoku
soodoku enabled auto-merge (squash) October 23, 2026 20:50
soodoku and others added 4 commits October 23, 2026 13:52
Both come from data already on the match page. ESPN's innings fours and
sixes equal the batters' sum where both exist (15/4 on the fixture);
older matches carry only the batters' figures, so fall back to those,
counting batters who batted. inningOvers per-over runs sum to the innings
total; early Tests have none, so those innings return an empty list.

Refs #54, #42

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The results page lists about two weeks of matches; every item carries
start and end dates, so filter to those spanning the day. Shares the page
request with get_recent_matches. Live: 39 of 226 matches on 2026-10-20,
spot-checked against their match pages.

Refs #28

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Statsguru's per-year results table links every international match
(format codes confirmed live: 1 Test, 2 ODI, 3 T20I, 8/9/10 women's).
With Match(match_id) this answers bulk-scorecard requests. Live: 34
Tests in 2023; the first 1990 id loads as Australia v Pakistan,
Australia won by 92 runs.

Refs #34

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The core API serves venues by the same id Match.ground_id holds (checked:
Adelaide Oval 56293 on both), with city, country, capacity and indoor.
Match.ground loads it. Live test: the venue record and the match page
agree on the ground's name.

Refs #8

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@soodoku
soodoku force-pushed the innings-boundaries-overs branch from 130eb2f to 99583ba Compare October 23, 2026 20:52
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@soodoku soodoku changed the title Innings boundaries, over-by-over, matches by day/year, Ground (#54 #42 #28 #34 #8) 1.1.0: boundaries, over-by-over, matches by day/year, Ground (#54 #42 #28 #34 #8) Oct 23, 2026
@soodoku
soodoku merged commit cece95f into master Oct 23, 2026
12 checks passed
@soodoku
soodoku deleted the innings-boundaries-overs branch October 23, 2026 21:05
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