cbbd 1.18.2__py3-none-any.whl → 1.19.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. cbbd/__init__.py +2 -2
  2. cbbd/api/conferences_api.py +1 -1
  3. cbbd/api/draft_api.py +1 -1
  4. cbbd/api/games_api.py +57 -25
  5. cbbd/api/lines_api.py +1 -1
  6. cbbd/api/lineups_api.py +1 -1
  7. cbbd/api/plays_api.py +159 -3
  8. cbbd/api/rankings_api.py +1 -1
  9. cbbd/api/ratings_api.py +1 -1
  10. cbbd/api/recruiting_api.py +1 -1
  11. cbbd/api/stats_api.py +1 -1
  12. cbbd/api/teams_api.py +1 -1
  13. cbbd/api/venues_api.py +1 -1
  14. cbbd/api_client.py +2 -2
  15. cbbd/configuration.py +3 -3
  16. cbbd/exceptions.py +1 -1
  17. cbbd/models/__init__.py +1 -1
  18. cbbd/models/adjusted_efficiency_info.py +1 -1
  19. cbbd/models/adjusted_efficiency_info_rankings.py +1 -1
  20. cbbd/models/conference_history.py +1 -1
  21. cbbd/models/conference_history_teams_inner.py +1 -1
  22. cbbd/models/conference_info.py +1 -1
  23. cbbd/models/draft_pick.py +1 -1
  24. cbbd/models/draft_position.py +1 -1
  25. cbbd/models/draft_team.py +1 -1
  26. cbbd/models/game_box_score_players.py +25 -2
  27. cbbd/models/game_box_score_players_players_inner.py +1 -1
  28. cbbd/models/game_box_score_team.py +25 -2
  29. cbbd/models/game_box_score_team_stats.py +1 -1
  30. cbbd/models/game_box_score_team_stats_points.py +1 -1
  31. cbbd/models/game_info.py +23 -2
  32. cbbd/models/game_line_info.py +1 -1
  33. cbbd/models/game_lines.py +1 -1
  34. cbbd/models/game_media_info.py +9 -2
  35. cbbd/models/game_media_info_broadcasts_inner.py +1 -1
  36. cbbd/models/game_status.py +1 -1
  37. cbbd/models/line_provider_info.py +1 -1
  38. cbbd/models/lineup_stats.py +1 -1
  39. cbbd/models/lineup_unit_stats.py +1 -1
  40. cbbd/models/lineup_unit_stats_four_factors.py +1 -1
  41. cbbd/models/lineup_unit_stats_two_pointers.py +1 -1
  42. cbbd/models/play_info.py +23 -2
  43. cbbd/models/play_info_on_floor_inner.py +1 -1
  44. cbbd/models/play_info_participants_inner.py +1 -1
  45. cbbd/models/play_type_info.py +1 -1
  46. cbbd/models/player_season_stats.py +1 -1
  47. cbbd/models/player_season_stats_win_shares.py +1 -1
  48. cbbd/models/player_subsititution.py +1 -1
  49. cbbd/models/player_subsititution_sub_in.py +1 -1
  50. cbbd/models/poll_team_info.py +1 -1
  51. cbbd/models/recruit.py +1 -1
  52. cbbd/models/recruit_committed_to.py +1 -1
  53. cbbd/models/recruit_hometown.py +1 -1
  54. cbbd/models/season_type.py +1 -1
  55. cbbd/models/shooting_stats.py +1 -1
  56. cbbd/models/shot_info.py +1 -1
  57. cbbd/models/shot_info_location.py +1 -1
  58. cbbd/models/shot_info_shooter.py +1 -1
  59. cbbd/models/srs_info.py +1 -1
  60. cbbd/models/team_info.py +1 -1
  61. cbbd/models/team_roster.py +1 -1
  62. cbbd/models/team_roster_player.py +1 -1
  63. cbbd/models/team_roster_player_hometown.py +1 -1
  64. cbbd/models/team_season_stats.py +1 -1
  65. cbbd/models/team_season_unit_stats.py +1 -1
  66. cbbd/models/team_season_unit_stats_field_goals.py +1 -1
  67. cbbd/models/team_season_unit_stats_fouls.py +1 -1
  68. cbbd/models/team_season_unit_stats_four_factors.py +1 -1
  69. cbbd/models/team_season_unit_stats_points.py +1 -1
  70. cbbd/models/team_season_unit_stats_rebounds.py +1 -1
  71. cbbd/models/team_season_unit_stats_turnovers.py +1 -1
  72. cbbd/models/venue_info.py +1 -1
  73. cbbd/rest.py +1 -1
  74. {cbbd-1.18.2.dist-info → cbbd-1.19.1.dist-info}/METADATA +1 -1
  75. cbbd-1.19.1.dist-info/RECORD +80 -0
  76. cbbd-1.18.2.dist-info/RECORD +0 -80
  77. {cbbd-1.18.2.dist-info → cbbd-1.19.1.dist-info}/WHEEL +0 -0
  78. {cbbd-1.18.2.dist-info → cbbd-1.19.1.dist-info}/top_level.txt +0 -0
cbbd/configuration.py CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -376,8 +376,8 @@ class Configuration:
376
376
  return "Python SDK Debug Report:\n"\
377
377
  "OS: {env}\n"\
378
378
  "Python Version: {pyversion}\n"\
379
- "Version of the API: 1.18.2\n"\
380
- "SDK Package Version: 1.18.2".\
379
+ "Version of the API: 1.19.1\n"\
380
+ "SDK Package Version: 1.19.1".\
381
381
  format(env=sys.platform, pyversion=sys.version)
382
382
 
383
383
  def get_host_settings(self):
cbbd/exceptions.py CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/models/__init__.py CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
8
8
 
9
- The version of the OpenAPI document: 1.18.2
9
+ The version of the OpenAPI document: 1.19.1
10
10
  Contact: admin@collegefootballdata.com
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/models/draft_pick.py CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/models/draft_team.py CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -32,22 +32,26 @@ class GameBoxScorePlayers(BaseModel):
32
32
  season: StrictInt = Field(...)
33
33
  season_label: StrictStr = Field(default=..., alias="seasonLabel")
34
34
  season_type: SeasonType = Field(default=..., alias="seasonType")
35
+ tournament: Optional[StrictStr] = Field(...)
35
36
  start_date: datetime = Field(default=..., alias="startDate")
36
37
  start_time_tbd: StrictBool = Field(default=..., alias="startTimeTbd")
37
38
  team_id: StrictInt = Field(default=..., alias="teamId")
38
39
  team: StrictStr = Field(...)
39
40
  conference: Optional[StrictStr] = Field(...)
41
+ team_seed: Optional[StrictInt] = Field(default=..., alias="teamSeed")
40
42
  opponent_id: StrictInt = Field(default=..., alias="opponentId")
41
43
  opponent: StrictStr = Field(...)
42
44
  opponent_conference: Optional[StrictStr] = Field(default=..., alias="opponentConference")
45
+ opponent_seed: Optional[StrictInt] = Field(default=..., alias="opponentSeed")
43
46
  neutral_site: StrictBool = Field(default=..., alias="neutralSite")
47
+ is_home: StrictBool = Field(default=..., alias="isHome")
44
48
  conference_game: StrictBool = Field(default=..., alias="conferenceGame")
45
49
  game_type: Optional[StrictStr] = Field(default=..., alias="gameType")
46
50
  notes: Optional[StrictStr] = Field(...)
47
51
  game_minutes: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="gameMinutes")
48
52
  game_pace: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="gamePace")
49
53
  players: conlist(GameBoxScorePlayersPlayersInner) = Field(...)
50
- __properties = ["gameId", "season", "seasonLabel", "seasonType", "startDate", "startTimeTbd", "teamId", "team", "conference", "opponentId", "opponent", "opponentConference", "neutralSite", "conferenceGame", "gameType", "notes", "gameMinutes", "gamePace", "players"]
54
+ __properties = ["gameId", "season", "seasonLabel", "seasonType", "tournament", "startDate", "startTimeTbd", "teamId", "team", "conference", "teamSeed", "opponentId", "opponent", "opponentConference", "opponentSeed", "neutralSite", "isHome", "conferenceGame", "gameType", "notes", "gameMinutes", "gamePace", "players"]
51
55
 
52
56
  class Config:
53
57
  """Pydantic configuration"""
@@ -80,16 +84,31 @@ class GameBoxScorePlayers(BaseModel):
80
84
  if _item:
81
85
  _items.append(_item.to_dict())
82
86
  _dict['players'] = _items
87
+ # set to None if tournament (nullable) is None
88
+ # and __fields_set__ contains the field
89
+ if self.tournament is None and "tournament" in self.__fields_set__:
90
+ _dict['tournament'] = None
91
+
83
92
  # set to None if conference (nullable) is None
84
93
  # and __fields_set__ contains the field
85
94
  if self.conference is None and "conference" in self.__fields_set__:
86
95
  _dict['conference'] = None
87
96
 
97
+ # set to None if team_seed (nullable) is None
98
+ # and __fields_set__ contains the field
99
+ if self.team_seed is None and "team_seed" in self.__fields_set__:
100
+ _dict['teamSeed'] = None
101
+
88
102
  # set to None if opponent_conference (nullable) is None
89
103
  # and __fields_set__ contains the field
90
104
  if self.opponent_conference is None and "opponent_conference" in self.__fields_set__:
91
105
  _dict['opponentConference'] = None
92
106
 
107
+ # set to None if opponent_seed (nullable) is None
108
+ # and __fields_set__ contains the field
109
+ if self.opponent_seed is None and "opponent_seed" in self.__fields_set__:
110
+ _dict['opponentSeed'] = None
111
+
93
112
  # set to None if game_type (nullable) is None
94
113
  # and __fields_set__ contains the field
95
114
  if self.game_type is None and "game_type" in self.__fields_set__:
@@ -126,15 +145,19 @@ class GameBoxScorePlayers(BaseModel):
126
145
  "season": obj.get("season"),
127
146
  "season_label": obj.get("seasonLabel"),
128
147
  "season_type": obj.get("seasonType"),
148
+ "tournament": obj.get("tournament"),
129
149
  "start_date": obj.get("startDate"),
130
150
  "start_time_tbd": obj.get("startTimeTbd"),
131
151
  "team_id": obj.get("teamId"),
132
152
  "team": obj.get("team"),
133
153
  "conference": obj.get("conference"),
154
+ "team_seed": obj.get("teamSeed"),
134
155
  "opponent_id": obj.get("opponentId"),
135
156
  "opponent": obj.get("opponent"),
136
157
  "opponent_conference": obj.get("opponentConference"),
158
+ "opponent_seed": obj.get("opponentSeed"),
137
159
  "neutral_site": obj.get("neutralSite"),
160
+ "is_home": obj.get("isHome"),
138
161
  "conference_game": obj.get("conferenceGame"),
139
162
  "game_type": obj.get("gameType"),
140
163
  "notes": obj.get("notes"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -32,15 +32,19 @@ class GameBoxScoreTeam(BaseModel):
32
32
  season: StrictInt = Field(...)
33
33
  season_label: StrictStr = Field(default=..., alias="seasonLabel")
34
34
  season_type: SeasonType = Field(default=..., alias="seasonType")
35
+ tournament: Optional[StrictStr] = Field(...)
35
36
  start_date: datetime = Field(default=..., alias="startDate")
36
37
  start_time_tbd: StrictBool = Field(default=..., alias="startTimeTbd")
37
38
  team_id: StrictInt = Field(default=..., alias="teamId")
38
39
  team: StrictStr = Field(...)
39
40
  conference: Optional[StrictStr] = Field(...)
41
+ team_seed: Optional[StrictInt] = Field(default=..., alias="teamSeed")
40
42
  opponent_id: StrictInt = Field(default=..., alias="opponentId")
41
43
  opponent: StrictStr = Field(...)
42
44
  opponent_conference: Optional[StrictStr] = Field(default=..., alias="opponentConference")
45
+ opponent_seed: Optional[StrictInt] = Field(default=..., alias="opponentSeed")
43
46
  neutral_site: StrictBool = Field(default=..., alias="neutralSite")
47
+ is_home: StrictBool = Field(default=..., alias="isHome")
44
48
  conference_game: StrictBool = Field(default=..., alias="conferenceGame")
45
49
  game_type: Optional[StrictStr] = Field(default=..., alias="gameType")
46
50
  notes: Optional[StrictStr] = Field(...)
@@ -48,7 +52,7 @@ class GameBoxScoreTeam(BaseModel):
48
52
  pace: Optional[Union[StrictFloat, StrictInt]] = Field(...)
49
53
  team_stats: GameBoxScoreTeamStats = Field(default=..., alias="teamStats")
50
54
  opponent_stats: GameBoxScoreTeamStats = Field(default=..., alias="opponentStats")
51
- __properties = ["gameId", "season", "seasonLabel", "seasonType", "startDate", "startTimeTbd", "teamId", "team", "conference", "opponentId", "opponent", "opponentConference", "neutralSite", "conferenceGame", "gameType", "notes", "gameMinutes", "pace", "teamStats", "opponentStats"]
55
+ __properties = ["gameId", "season", "seasonLabel", "seasonType", "tournament", "startDate", "startTimeTbd", "teamId", "team", "conference", "teamSeed", "opponentId", "opponent", "opponentConference", "opponentSeed", "neutralSite", "isHome", "conferenceGame", "gameType", "notes", "gameMinutes", "pace", "teamStats", "opponentStats"]
52
56
 
53
57
  class Config:
54
58
  """Pydantic configuration"""
@@ -80,16 +84,31 @@ class GameBoxScoreTeam(BaseModel):
80
84
  # override the default output from pydantic by calling `to_dict()` of opponent_stats
81
85
  if self.opponent_stats:
82
86
  _dict['opponentStats'] = self.opponent_stats.to_dict()
87
+ # set to None if tournament (nullable) is None
88
+ # and __fields_set__ contains the field
89
+ if self.tournament is None and "tournament" in self.__fields_set__:
90
+ _dict['tournament'] = None
91
+
83
92
  # set to None if conference (nullable) is None
84
93
  # and __fields_set__ contains the field
85
94
  if self.conference is None and "conference" in self.__fields_set__:
86
95
  _dict['conference'] = None
87
96
 
97
+ # set to None if team_seed (nullable) is None
98
+ # and __fields_set__ contains the field
99
+ if self.team_seed is None and "team_seed" in self.__fields_set__:
100
+ _dict['teamSeed'] = None
101
+
88
102
  # set to None if opponent_conference (nullable) is None
89
103
  # and __fields_set__ contains the field
90
104
  if self.opponent_conference is None and "opponent_conference" in self.__fields_set__:
91
105
  _dict['opponentConference'] = None
92
106
 
107
+ # set to None if opponent_seed (nullable) is None
108
+ # and __fields_set__ contains the field
109
+ if self.opponent_seed is None and "opponent_seed" in self.__fields_set__:
110
+ _dict['opponentSeed'] = None
111
+
93
112
  # set to None if game_type (nullable) is None
94
113
  # and __fields_set__ contains the field
95
114
  if self.game_type is None and "game_type" in self.__fields_set__:
@@ -126,15 +145,19 @@ class GameBoxScoreTeam(BaseModel):
126
145
  "season": obj.get("season"),
127
146
  "season_label": obj.get("seasonLabel"),
128
147
  "season_type": obj.get("seasonType"),
148
+ "tournament": obj.get("tournament"),
129
149
  "start_date": obj.get("startDate"),
130
150
  "start_time_tbd": obj.get("startTimeTbd"),
131
151
  "team_id": obj.get("teamId"),
132
152
  "team": obj.get("team"),
133
153
  "conference": obj.get("conference"),
154
+ "team_seed": obj.get("teamSeed"),
134
155
  "opponent_id": obj.get("opponentId"),
135
156
  "opponent": obj.get("opponent"),
136
157
  "opponent_conference": obj.get("opponentConference"),
158
+ "opponent_seed": obj.get("opponentSeed"),
137
159
  "neutral_site": obj.get("neutralSite"),
160
+ "is_home": obj.get("isHome"),
138
161
  "conference_game": obj.get("conferenceGame"),
139
162
  "game_type": obj.get("gameType"),
140
163
  "notes": obj.get("notes"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/models/game_info.py CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -38,6 +38,7 @@ class GameInfo(BaseModel):
38
38
  neutral_site: StrictBool = Field(default=..., alias="neutralSite")
39
39
  conference_game: StrictBool = Field(default=..., alias="conferenceGame")
40
40
  game_type: Optional[StrictStr] = Field(default=..., alias="gameType")
41
+ tournament: Optional[StrictStr] = Field(...)
41
42
  game_notes: Optional[StrictStr] = Field(default=..., alias="gameNotes")
42
43
  status: GameStatus = Field(...)
43
44
  attendance: Optional[StrictInt] = Field(...)
@@ -45,6 +46,7 @@ class GameInfo(BaseModel):
45
46
  home_team: StrictStr = Field(default=..., alias="homeTeam")
46
47
  home_conference_id: Optional[StrictInt] = Field(default=..., alias="homeConferenceId")
47
48
  home_conference: Optional[StrictStr] = Field(default=..., alias="homeConference")
49
+ home_seed: Optional[StrictInt] = Field(default=..., alias="homeSeed")
48
50
  home_points: Optional[StrictInt] = Field(default=..., alias="homePoints")
49
51
  home_period_points: Optional[conlist(StrictInt)] = Field(default=..., alias="homePeriodPoints")
50
52
  home_winner: Optional[StrictBool] = Field(default=..., alias="homeWinner")
@@ -52,6 +54,7 @@ class GameInfo(BaseModel):
52
54
  away_team: StrictStr = Field(default=..., alias="awayTeam")
53
55
  away_conference_id: Optional[StrictInt] = Field(default=..., alias="awayConferenceId")
54
56
  away_conference: Optional[StrictStr] = Field(default=..., alias="awayConference")
57
+ away_seed: Optional[StrictInt] = Field(default=..., alias="awaySeed")
55
58
  away_points: Optional[StrictInt] = Field(default=..., alias="awayPoints")
56
59
  away_period_points: Optional[conlist(StrictInt)] = Field(default=..., alias="awayPeriodPoints")
57
60
  away_winner: Optional[StrictBool] = Field(default=..., alias="awayWinner")
@@ -60,7 +63,7 @@ class GameInfo(BaseModel):
60
63
  venue: Optional[StrictStr] = Field(...)
61
64
  city: Optional[StrictStr] = Field(...)
62
65
  state: Optional[StrictStr] = Field(...)
63
- __properties = ["id", "sourceId", "seasonLabel", "season", "seasonType", "startDate", "startTimeTbd", "neutralSite", "conferenceGame", "gameType", "gameNotes", "status", "attendance", "homeTeamId", "homeTeam", "homeConferenceId", "homeConference", "homePoints", "homePeriodPoints", "homeWinner", "awayTeamId", "awayTeam", "awayConferenceId", "awayConference", "awayPoints", "awayPeriodPoints", "awayWinner", "excitement", "venueId", "venue", "city", "state"]
66
+ __properties = ["id", "sourceId", "seasonLabel", "season", "seasonType", "startDate", "startTimeTbd", "neutralSite", "conferenceGame", "gameType", "tournament", "gameNotes", "status", "attendance", "homeTeamId", "homeTeam", "homeConferenceId", "homeConference", "homeSeed", "homePoints", "homePeriodPoints", "homeWinner", "awayTeamId", "awayTeam", "awayConferenceId", "awayConference", "awaySeed", "awayPoints", "awayPeriodPoints", "awayWinner", "excitement", "venueId", "venue", "city", "state"]
64
67
 
65
68
  class Config:
66
69
  """Pydantic configuration"""
@@ -91,6 +94,11 @@ class GameInfo(BaseModel):
91
94
  if self.game_type is None and "game_type" in self.__fields_set__:
92
95
  _dict['gameType'] = None
93
96
 
97
+ # set to None if tournament (nullable) is None
98
+ # and __fields_set__ contains the field
99
+ if self.tournament is None and "tournament" in self.__fields_set__:
100
+ _dict['tournament'] = None
101
+
94
102
  # set to None if game_notes (nullable) is None
95
103
  # and __fields_set__ contains the field
96
104
  if self.game_notes is None and "game_notes" in self.__fields_set__:
@@ -111,6 +119,11 @@ class GameInfo(BaseModel):
111
119
  if self.home_conference is None and "home_conference" in self.__fields_set__:
112
120
  _dict['homeConference'] = None
113
121
 
122
+ # set to None if home_seed (nullable) is None
123
+ # and __fields_set__ contains the field
124
+ if self.home_seed is None and "home_seed" in self.__fields_set__:
125
+ _dict['homeSeed'] = None
126
+
114
127
  # set to None if home_points (nullable) is None
115
128
  # and __fields_set__ contains the field
116
129
  if self.home_points is None and "home_points" in self.__fields_set__:
@@ -136,6 +149,11 @@ class GameInfo(BaseModel):
136
149
  if self.away_conference is None and "away_conference" in self.__fields_set__:
137
150
  _dict['awayConference'] = None
138
151
 
152
+ # set to None if away_seed (nullable) is None
153
+ # and __fields_set__ contains the field
154
+ if self.away_seed is None and "away_seed" in self.__fields_set__:
155
+ _dict['awaySeed'] = None
156
+
139
157
  # set to None if away_points (nullable) is None
140
158
  # and __fields_set__ contains the field
141
159
  if self.away_points is None and "away_points" in self.__fields_set__:
@@ -198,6 +216,7 @@ class GameInfo(BaseModel):
198
216
  "neutral_site": obj.get("neutralSite"),
199
217
  "conference_game": obj.get("conferenceGame"),
200
218
  "game_type": obj.get("gameType"),
219
+ "tournament": obj.get("tournament"),
201
220
  "game_notes": obj.get("gameNotes"),
202
221
  "status": obj.get("status"),
203
222
  "attendance": obj.get("attendance"),
@@ -205,6 +224,7 @@ class GameInfo(BaseModel):
205
224
  "home_team": obj.get("homeTeam"),
206
225
  "home_conference_id": obj.get("homeConferenceId"),
207
226
  "home_conference": obj.get("homeConference"),
227
+ "home_seed": obj.get("homeSeed"),
208
228
  "home_points": obj.get("homePoints"),
209
229
  "home_period_points": obj.get("homePeriodPoints"),
210
230
  "home_winner": obj.get("homeWinner"),
@@ -212,6 +232,7 @@ class GameInfo(BaseModel):
212
232
  "away_team": obj.get("awayTeam"),
213
233
  "away_conference_id": obj.get("awayConferenceId"),
214
234
  "away_conference": obj.get("awayConference"),
235
+ "away_seed": obj.get("awaySeed"),
215
236
  "away_points": obj.get("awayPoints"),
216
237
  "away_period_points": obj.get("awayPeriodPoints"),
217
238
  "away_winner": obj.get("awayWinner"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/models/game_lines.py CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -32,6 +32,7 @@ class GameMediaInfo(BaseModel):
32
32
  season: StrictInt = Field(...)
33
33
  season_label: StrictStr = Field(default=..., alias="seasonLabel")
34
34
  season_type: SeasonType = Field(default=..., alias="seasonType")
35
+ tournament: Optional[StrictStr] = Field(...)
35
36
  start_date: datetime = Field(default=..., alias="startDate")
36
37
  start_time_tbd: StrictBool = Field(default=..., alias="startTimeTbd")
37
38
  home_team_id: StrictInt = Field(default=..., alias="homeTeamId")
@@ -45,7 +46,7 @@ class GameMediaInfo(BaseModel):
45
46
  game_type: Optional[StrictStr] = Field(default=..., alias="gameType")
46
47
  notes: Optional[StrictStr] = Field(...)
47
48
  broadcasts: conlist(GameMediaInfoBroadcastsInner) = Field(...)
48
- __properties = ["gameId", "season", "seasonLabel", "seasonType", "startDate", "startTimeTbd", "homeTeamId", "homeTeam", "homeConference", "awayTeamId", "awayTeam", "awayConference", "neutralSite", "conferenceGame", "gameType", "notes", "broadcasts"]
49
+ __properties = ["gameId", "season", "seasonLabel", "seasonType", "tournament", "startDate", "startTimeTbd", "homeTeamId", "homeTeam", "homeConference", "awayTeamId", "awayTeam", "awayConference", "neutralSite", "conferenceGame", "gameType", "notes", "broadcasts"]
49
50
 
50
51
  class Config:
51
52
  """Pydantic configuration"""
@@ -78,6 +79,11 @@ class GameMediaInfo(BaseModel):
78
79
  if _item:
79
80
  _items.append(_item.to_dict())
80
81
  _dict['broadcasts'] = _items
82
+ # set to None if tournament (nullable) is None
83
+ # and __fields_set__ contains the field
84
+ if self.tournament is None and "tournament" in self.__fields_set__:
85
+ _dict['tournament'] = None
86
+
81
87
  # set to None if home_conference (nullable) is None
82
88
  # and __fields_set__ contains the field
83
89
  if self.home_conference is None and "home_conference" in self.__fields_set__:
@@ -114,6 +120,7 @@ class GameMediaInfo(BaseModel):
114
120
  "season": obj.get("season"),
115
121
  "season_label": obj.get("seasonLabel"),
116
122
  "season_type": obj.get("seasonType"),
123
+ "tournament": obj.get("tournament"),
117
124
  "start_date": obj.get("startDate"),
118
125
  "start_time_tbd": obj.get("startTimeTbd"),
119
126
  "home_team_id": obj.get("homeTeamId"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.18.2
8
+ The version of the OpenAPI document: 1.19.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11