Series, seasons and teams¶
- class Series(series_id)[source]¶
A series or league, with its seasons, teams and matches.
Example values are for
Series(1449924), the Indian Premier League.- Parameters:
series_id (int)
- property events: list[dict[str, Any]]¶
Core API event records for the series’ first page of events.
One request per event, made on first access.
- season(key)[source]¶
Return one season, by year or by ESPNcricinfo’s two-year label.
Multi-year seasons live under their own series id, which this exposes as
season.series_id: for the Big Bash League,Series(8044).season("2024/25").series_idis1443056.- Parameters:
key (int | str) –
2024,"2024","2024/25","2024-25"or"2024/2025". A bare year matches the season starting then.- Returns:
The matching season.
- Raises:
NoSeasonError – If the series has no such season.
- Return type:
- class Season(season_id, series_id)[source]¶
One season of a series, with its teams and matches.
- label: str¶
'2024/25'for a season that crosses New Year, otherwise the year, e.g.'2025'.- Type:
ESPNcricinfo’s label