kickerde_api_client.model.core ============================== .. py:module:: kickerde_api_client.model.core .. autoapi-nested-parse:: Miscellaneous root entities of the upstream model. Attributes ---------- .. autoapisummary:: kickerde_api_client.model.core.CountryId kickerde_api_client.model.core.MediaObject kickerde_api_client.model.core.ObjectId kickerde_api_client.model.core.StadiumId Classes ------- .. autoapisummary:: kickerde_api_client.model.core.RessortId kickerde_api_client.model.core.RessortIdHome kickerde_api_client.model.core.TrackRessortId kickerde_api_client.model.core.SportId kickerde_api_client.model.core.StateId kickerde_api_client.model.core.Country kickerde_api_client.model.core.Stadium Module Contents --------------- .. py:data:: CountryId :type: TypeAlias :value: str Upstream ID for a country that hosts a league or tournament. Alternatively, a reserved artificial ID for tournaments hosted by supranational bodies. .. py:data:: MediaObject :type: TypeAlias :value: Any Abstract supertype for a document, slideshow, or video. .. py:data:: ObjectId :type: TypeAlias :value: int Upstream ID for a document, slideshow, or video. .. py:class:: RessortId Bases: :py:obj:`enum.IntEnum` Upstream ID for a (possibly historical) news section. .. py:attribute:: BUNDESLIGA :value: 3100 German Bundesliga .. py:attribute:: BUNDESLIGA_2 :value: 4100 German 2. Bundesliga .. py:attribute:: REGIONALLIGA :value: 5100 Regionalliga .. py:attribute:: DFB_POKAL :value: 6100 DFB-Pokal .. py:attribute:: LANDESPOKAL :value: 6500 Football cup competitions hosted by football associations on German state level .. py:attribute:: GERMAN_NATIONAL_TEAM_UNDER_21 :value: 7011 The German U-21 national team .. py:attribute:: GERMAN_NATIONAL_TEAM :value: 7100 The German national team .. py:attribute:: NON_DOMESTIC_TIER_1 :value: 8100 Association football outside Germany, tier 1. .. py:attribute:: NON_DOMESTIC_TIER_2 :value: 8600 Association football outside Germany, tier 2. .. py:attribute:: NON_DOMESTIC_TIER_3 :value: 8605 Association football outside Germany, tier 3. .. py:attribute:: UEFA_CHAMPIONS_LEAGUE :value: 9100 UEFA Champions League .. py:attribute:: EUROPA_LEAGUE :value: 11100 UEFA Europa League .. py:attribute:: FIFA_WORLD_CUP :value: 12100 FIFA World Cup .. py:attribute:: UEFA_CONFERENCE_LEAGUE :value: 13100 UEFA Europa Conference League .. py:attribute:: FIFA_CONFEDERATIONS_CUP :value: 18100 The historical FIFA Confederations Cup. Currently tracked under :py:obj:`.TrackRessortId.WORLD_CUPS`. .. py:attribute:: WOMEN :value: 23100 Women .. py:attribute:: FIFA_WORLD_CUP_WOMEN :value: 23155 FIFA Women’s World Cup. Currently tracked under :py:obj:`.TrackRessortId.WOMEN`. .. py:attribute:: WOMEN_UNKNOWN_23230 :value: 23230 Ressort ID with unknown semantics. .. py:attribute:: GERMAN_NATIONAL_TEAM_WOMEN :value: 23300 German women’s national team. Currently tracked under :py:obj:`.TrackRessortId.WOMEN`. .. py:attribute:: YOUTH :value: 24100 Youth .. py:attribute:: DFB_LIGA_3 :value: 26100 German 3. Liga .. py:attribute:: UEFA_NL :value: 28050 UEFA Nations League .. py:attribute:: UEFA_EURO :value: 28100 UEFA European Championship .. py:attribute:: ICE_HOCKEY_TIER_1 :value: 31100 Ice hockey, tier 1 .. py:attribute:: ICE_HOCKEY_TIER_2 :value: 31500 Ice hockey, tier 2 .. py:attribute:: BASKETBALL_TIER_1 :value: 36100 Basketball, tier 1 .. py:attribute:: BASKETBALL_TIER_2 :value: 36500 Basketball, tier 2 .. py:attribute:: HANDBALL :value: 37100 Handball .. py:attribute:: AMERICAN_FOOTBALL :value: 38251 American Football .. py:attribute:: OLYMPICS :value: 508100 Olympics .. py:class:: RessortIdHome Bases: :py:obj:`enum.IntEnum` Upstream ID for a news subsection with a dedicated home page. Typically used for German Regionalliga associations. .. py:attribute:: REGIONALLIGA_NORD :value: 5410 Regionalliga Nord .. py:attribute:: REGIONALLIGA_NORDOST :value: 5420 Regionalliga Nordost .. py:attribute:: REGIONALLIGA_WEST :value: 5430 Regionalliga West .. py:attribute:: REGIONALLIGA_SUEDWEST :value: 5440 Regionalliga Südwest .. py:attribute:: REGIONALLIGA_BAYERN :value: 5450 Regionalliga Bayern .. py:class:: TrackRessortId Bases: :py:obj:`enum.IntEnum` Upstream ID for a set of news sections. Each such set contains at least one contemporary news section, and optionally one or more additional news sections, which may be historical or on hiatus or have been subsumed for other reasons. For example, :py:obj:`.TrackRessortId.FIFA_WORLD_CUP` tracks both the contemporary :py:obj:`.RessortId.FIFA_WORLD_CUP` section and the historical :py:obj:`.RessortId.FIFA_CONFEDERATIONS_CUP` section. .. py:attribute:: HOME :value: 2000 Home Tracks :py:obj:`.RessortId.FRIENDLIES`. .. py:attribute:: BUNDESLIGA :value: 3000 German Bundesliga .. py:attribute:: BUNDESLIGA_2 :value: 4000 German 2. Bundesliga .. py:attribute:: REGIONALLIGA :value: 5000 Regionalliga .. py:attribute:: DFB_POKAL :value: 6000 DFB-Pokal Tracks both :py:obj:`.RessortId.DFB_POKAL` and :py:obj:`.RessortId.LANDESPOKAL` sections. .. py:attribute:: GERMAN_NATIONAL_TEAM :value: 7000 The German national team .. py:attribute:: UNDER_21 :value: 7010 Under 21 .. py:attribute:: NON_DOMESTIC :value: 8000 Association football outside Germany. Tracks the :py:obj:`.RessortId.NON_DOMESTIC_TIER_1`, :py:obj:`.RessortId.NON_DOMESTIC_TIER_2`, and :py:obj:`.RessortId.NON_DOMESTIC_TIER_3` sections. .. py:attribute:: UEFA_CHAMPIONS_LEAGUE :value: 9000 UEFA Champions League .. py:attribute:: EUROPA_LEAGUE :value: 11000 UEFA Europa League .. py:attribute:: FIFA_WORLD_CUP :value: 12000 FIFA World Cup Tracks both :py:obj:`.RessortId.FIFA_WORLD_CUP` and :py:obj:`.RessortId.FIFA_CONFEDERATIONS_CUP` sections. .. py:attribute:: UEFA_CONFERENCE_LEAGUE :value: 13000 UEFA Europa Conference League .. py:attribute:: WOMEN :value: 23000 Women .. py:attribute:: YOUTH :value: 24000 Youth .. py:attribute:: DFB_LIGA_3 :value: 26000 German 3. Liga .. py:attribute:: UEFA_EURO :value: 28000 UEFA European Championship .. py:attribute:: UEFA_NL :value: 28050 UEFA Nations League .. py:attribute:: ICE_HOCKEY :value: 31000 Ice hockey Tracks both :py:obj:`.RessortId.ICE_HOCKEY_TIER_1` and :py:obj:`.RessortId.ICE_HOCKEY_TIER_2` sections. .. py:attribute:: BASKETBALL :value: 36000 Basketball Tracks both :py:obj:`.RessortId.BASKETBALL_TIER_1` and :py:obj:`.RessortId.BASKETBALL_TIER_2` sections. .. py:attribute:: HANDBALL :value: 37000 Handball .. py:attribute:: AMERICAN_FOOTBALL :value: 38250 American Football .. py:attribute:: OLYMPICS :value: 508024 Olympics .. py:class:: SportId Bases: :py:obj:`enum.IntEnum` Upstream ID for a type of sport. .. py:attribute:: ASSOCIATION_FOOTBALL :value: 1 Association football .. py:attribute:: HANDBALL :value: 2 Handball .. py:attribute:: ICE_HOCKEY :value: 3 Ice hockey .. py:attribute:: BASKETBALL :value: 4 Basketball .. py:attribute:: MOTORSPORTS :value: 5 Motorsports .. py:attribute:: AMERICAN_FOOTBALL :value: 6 American football .. py:attribute:: CYCLING :value: 7 Cycle sport .. py:attribute:: TENNIS :value: 8 Tennis .. py:attribute:: WINTER_SPORTS :value: 15 Winter sports .. py:attribute:: ESPORTS :value: 32 Electronic sports .. py:data:: StadiumId :type: TypeAlias :value: int Upstream ID for a sports venue. .. py:class:: StateId Bases: :py:obj:`enum.IntEnum` Upstream ID for a German state (Bundesland). .. py:attribute:: BADEN_WUERTTEMBERG :value: 1 The German state of Baden-Württemberg .. py:attribute:: BAVARIA :value: 2 The German Free State of Bavaria .. py:attribute:: BERLIN :value: 3 The German capital Berlin .. py:attribute:: BRANDENBURG :value: 4 The German state of Brandenburg .. py:attribute:: BREMEN :value: 5 The German Free Hanseatic City of Bremen .. py:attribute:: HAMBURG :value: 6 The German Free and Hanseatic City of Hamburg .. py:attribute:: HESSE :value: 7 The German state of Hesse .. py:attribute:: MECKLENBURG_VORPOMMERN :value: 8 The German state of Mecklenburg-Vorpommern .. py:attribute:: LOWER_SAXONY :value: 9 The German state of Lower Saxony .. py:attribute:: NORTH_RHINE_WESTPHALIA :value: 10 The German state of North Rhine-Westphalia .. py:attribute:: RHINELAND_PALATINATE :value: 11 The German state of Rhineland-Palatinate .. py:attribute:: SAARLAND :value: 12 The German state of Saarland .. py:attribute:: SAXONY :value: 13 The German Free State of Saxony .. py:attribute:: SAXONY_ANHALT :value: 14 The German state of Saxony-Anhalt .. py:attribute:: SCHLESWIG_HOLSTEIN :value: 15 The German state of Schleswig-Holstein .. py:attribute:: THURINGIA :value: 16 The German Free State of Thuringia .. py:class:: Country Bases: :py:obj:`TypedDict` Upstream model for a country. .. py:attribute:: id :type: CountryId .. py:attribute:: shortName :type: str .. py:attribute:: longName :type: str .. py:attribute:: isoName :type: str .. py:attribute:: iconSmall :type: str .. py:class:: Stadium Bases: :py:obj:`TypedDict` Upstream model for a sports venue. .. py:attribute:: id :type: StadiumId .. py:attribute:: name :type: str .. py:attribute:: city :type: str