kickerde_api_client.model.match
Upstream model for sports matches and their state.
Attributes
Upstream ID for a sports match. |
|
Three- to four-letter abbreviation for a match participant. |
Classes
Upstream model for a sports team that takes part in a match. |
|
Upstream model for the results of a sports match. |
|
Degree of certainty with which a match is scheduled. |
|
The degree of progress in a match. |
|
Upstream model for a sports match. |
Module Contents
- kickerde_api_client.model.match.MatchId: TypeAlias = int
Upstream ID for a sports match.
- kickerde_api_client.model.match.TeamToken: TypeAlias = str
Three- to four-letter abbreviation for a match participant.
- class kickerde_api_client.model.match.MatchTeam
Bases:
TypedDictUpstream model for a sports team that takes part in a match.
- id: kickerde_api_client.model.team.TeamId
- defaultLeagueId: kickerde_api_client.model.league_id.LeagueId
- shortName: str
- longName: str
- urlName: str
- iconSmall: str
- iconBig: str
- token: TeamToken
- class kickerde_api_client.model.match.MatchResults
Bases:
TypedDictUpstream model for the results of a sports match.
- hergAktuell: int
Current standings for the home team.
- aergAktuell: int
Current standings for the away team.
- hergHz: NotRequired[int]
Standings for the home team by the end of the first half.
- aergHz: NotRequired[int]
Standings for the away team by the end of the first half.
- hergEnde: NotRequired[int]
Standings for the home team by the end of the match.
- aergEnde: NotRequired[int]
Standings for the away team by the end of the match.
- class kickerde_api_client.model.match.ApprovalId
Bases:
enum.IntEnumDegree of certainty with which a match is scheduled.
- SCHEDULED = 0
The match is tentatively scheduled (Angesetzt).
- CONFIRMED = 1
The match schedule is confirmed (Vorschau).
- LIVE = 12
The match is currently being played (Live).
- UNKNOWN_13 = 13
This value has not been observed in the wild yet.
- FINISHED = 14
The match is over and a report (Spielbericht) has been published.
- class kickerde_api_client.model.match.Period
Bases:
enum.IntEnumThe degree of progress in a match.
- BEFORE = 0
The match has not started.
- FIRST_HALF = 1
The first half is underway.
- HALF_TIME = 2
The first half has completed. The second half has not started.
- SECOND_HALF = 3
The second half is underway.
- FINISHED = 4
The match is over.
- class kickerde_api_client.model.match.Match
Bases:
TypedDictUpstream model for a sports match.
- id: MatchId
- leagueShortName: str
- leagueLongName: str
- seasonId: kickerde_api_client.model.league.SeasonId
- roundId: int
- results: NotRequired[MatchResults]
- date: datetype.NaiveDateTime
- completed: bool
- currentMinute: int
- approvalId: ApprovalId
Degree of certainty with which this match is scheduled.
- approvalName: str
German-language description of the degree of certainty.
- timeConfirmed: bool
- displayKey: int
- round: str
- leaguePriority: int
- countryId: kickerde_api_client.model.core.CountryId
- country: str
- leagueUrlName: str
- state: str
- modifiedAt: datetype.NaiveDateTime
- currentDateTime: datetype.NaiveDateTime