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
German-language editorial shorthand for the league or tournament.
Equivalent to the
shortNameof aLeague.Example: 2.BL for 2. Bundesliga
- leagueLongName: str
German-language full-name of the league or tournament.
- seasonId: kickerde_api_client.model.league.SeasonId
- roundId: int
Ordinal of the round, 1-based.
Correlates to
round, e.g. roundId is 18 if round is equal to “18. Spieltag”.
- results: NotRequired[MatchResults]
- date: datetype.NaiveDateTime
Date and time for which the match is scheduled to begin.
Implies a timezone of Europe/Berlin.
- completed: bool
True if the match is over, False otherwise.
- currentMinute: int
How many minutes of the match have passed. Includes minutes that have started but not completed.
Typically equal to 0 if the match has not started.
Equal to the duration of the match in minutes if the match is over.
- approvalId: ApprovalId
Degree of certainty with which this match is scheduled.
- approvalName: str
German-language description of the degree of certainty. Correlates with
approvalId.Examples:
Angesetzt
Vorschau
Live
- timeConfirmed: bool
Whether the association has confirmed the date and time.
- sportId: kickerde_api_client.model.core.SportId
Upstream ID for the type of sport.
- displayKey: int
Sorting key for editorial purposes.
- round: str
German-language display name of the round or match day.
Example: 18. Spieltag
- leaguePriority: int
Editorial priority of the league that hosts the match.
- countryId: kickerde_api_client.model.core.CountryId
Upstream ID for a country that hosts the match.
- leagueUrlName: str
URL-friendly league name. Example:
serie-afor Serie A.
- state: str
German-language description of a purpose, status, or rationale.
Example: Regulär
- modifiedAt: datetype.NaiveDateTime
Server-side timestamp. Implies a timezone of Europe/Berlin.
- currentDateTime: datetype.NaiveDateTime
Server-side timestamp of when this library has retrieved the data.
Implies a timezone of Europe/Berlin.