fix-bsm-breaking-changes #109

Merged
obnoxieux merged 4 commits from fix-bsm-breaking-changes into main 2026-02-28 08:00:32 +00:00
Owner
No description provided.
There were several breaking changes in BSM:

- LeagueGroup property `league` changed to `game_class`
- endpoint /team/ID.json was replaced by the inferior
  /league_entries/ID.json

The new endpoint does not supply the `League` ID any more, so it needs
to be added to the request.

On a more positive note, the fetcher now does not load all
`LeagueGroups` on every request as there is a better endpoint.

Known issues: All LeagueGroups for each League are displayed, regardless
of whether the team actually plays in it.

LeagueGroup now supplies a lot more properties directly that were
previously unavailable.

This commit is technically a breaking API change, but due to the
/teams.json call being removed all calls would have resulted in error
responses anyway.
Just the name alone is not enough to distinguish leagues, playoff
leagues may have identical names.
obnoxieux deleted branch fix-bsm-breaking-changes 2026-02-28 08:00:37 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tib-baseball/skylarks-diamond-planner!109
No description provided.