|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to the `sharpapi` Python SDK are documented here. |
| 4 | + |
| 5 | +## 0.3.1 — 2026-05-06 |
| 6 | + |
| 7 | +### Added — TeamRef metadata |
| 8 | + |
| 9 | +`TeamRef` now exposes five additional optional fields: |
| 10 | + |
| 11 | +- `logo` — full CDN URL. ~93% of teams are populated. |
| 12 | +- `city` — e.g. `"Arizona"` for the Diamondbacks. |
| 13 | +- `mascot` — e.g. `"Diamondbacks"`. |
| 14 | +- `conference` — e.g. `"NL"`, `"AFC"`, `"Western"`. |
| 15 | +- `division` — e.g. `"West Division"`, `"NL East"`, `"Pacific Division"`. |
| 16 | + |
| 17 | +All five default to `None` and are additive — existing 0.3.0 code keeps |
| 18 | +working unchanged. |
| 19 | + |
| 20 | +## 0.3.0 — 2026-05-06 |
| 21 | + |
| 22 | +### Added — nested refs |
| 23 | + |
| 24 | +Every odds row, opportunity row, and reference-list row may now carry |
| 25 | +optional structured reference objects alongside the existing flat fields. |
| 26 | +All new fields are **optional and additive** — clients on older API |
| 27 | +versions (or talking to older API servers) see `None` and behave |
| 28 | +identically. |
| 29 | + |
| 30 | +New models: |
| 31 | + |
| 32 | +- `TeamRef` — `id`, `numerical_id`, `name`, `abbreviation` (latter only on |
| 33 | + team-sport competitors) |
| 34 | +- `SportRef` — `id`, `name`, `numerical_id` |
| 35 | +- `EntityRef` — `id`, `label`, `numerical_id` (used for league / market / |
| 36 | + sportsbook refs) |
| 37 | + |
| 38 | +New optional fields: |
| 39 | + |
| 40 | +- `OddsLine`, `EVOpportunity`, `ArbitrageOpportunity`, `MiddleOpportunity`, |
| 41 | + `LowHoldOpportunity` — all gain `home`, `away`, `sport_ref`, `league_ref`, |
| 42 | + `market_ref`, `sportsbook_ref` (legs / opps without a single book skip |
| 43 | + `sportsbook_ref`). |
| 44 | +- `ArbitrageLeg` — gains `sportsbook_ref`. |
| 45 | +- `ClosingOddsLine` — gains `market_ref`, `sportsbook_ref`. |
| 46 | +- `ClosingSnapshot` — gains `home`, `away`, `sport_ref`, `league_ref`. |
| 47 | +- `Sport`, `League`, `Sportsbook`, `Market` — gain `numerical_id`. |
| 48 | +- `Event` — gains `home`, `away`, `sport_ref`, `league_ref`. |
| 49 | + |
| 50 | +New reference model: |
| 51 | + |
| 52 | +- `Team` — for the `/teams` reference endpoint, includes optional |
| 53 | + `abbreviation` and `numerical_id`. |
| 54 | + |
| 55 | +### Backward compatibility |
| 56 | + |
| 57 | +No existing field was renamed, retyped, or removed. Code that does not |
| 58 | +reference the new attributes continues to work without changes. |
0 commit comments