kickerde_api_client.model.match

Upstream model for sports matches and their state.

Attributes

MatchId

Upstream ID for a sports match.

TeamToken

Three- to four-letter abbreviation for a match participant.

Classes

MatchTeam

Upstream model for a sports team that takes part in a match.

MatchResults

Upstream model for the results of a sports match.

ApprovalId

Degree of certainty with which a match is scheduled.

Period

The degree of progress in a match.

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: TypedDict

Upstream 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: TypedDict

Upstream 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.IntEnum

Degree 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.IntEnum

The 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: TypedDict

Upstream model for a sports match.

id: MatchId
leagueId: kickerde_api_client.model.league_id.LeagueId
leagueShortName: str
leagueLongName: str
seasonId: kickerde_api_client.model.league.SeasonId
roundId: int
homeTeam: MatchTeam
guestTeam: MatchTeam
results: NotRequired[MatchResults]
date: datetype.NaiveDateTime
completed: bool
currentMinute: int
currentPeriod: Period

The phase into which the match has progressed.

approvalId: ApprovalId

Degree of certainty with which this match is scheduled.

approvalName: str

German-language description of the degree of certainty.

timeConfirmed: bool
sportId: kickerde_api_client.model.core.SportId
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