cbbd 1.18.2__py3-none-any.whl → 1.19.0__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.
- cbbd/__init__.py +2 -2
- cbbd/api/conferences_api.py +1 -1
- cbbd/api/draft_api.py +1 -1
- cbbd/api/games_api.py +57 -25
- cbbd/api/lines_api.py +1 -1
- cbbd/api/lineups_api.py +1 -1
- cbbd/api/plays_api.py +159 -3
- cbbd/api/rankings_api.py +1 -1
- cbbd/api/ratings_api.py +1 -1
- cbbd/api/recruiting_api.py +1 -1
- cbbd/api/stats_api.py +1 -1
- cbbd/api/teams_api.py +1 -1
- cbbd/api/venues_api.py +1 -1
- cbbd/api_client.py +2 -2
- cbbd/configuration.py +3 -3
- cbbd/exceptions.py +1 -1
- cbbd/models/__init__.py +1 -1
- cbbd/models/adjusted_efficiency_info.py +1 -1
- cbbd/models/adjusted_efficiency_info_rankings.py +1 -1
- cbbd/models/conference_history.py +1 -1
- cbbd/models/conference_history_teams_inner.py +1 -1
- cbbd/models/conference_info.py +1 -1
- cbbd/models/draft_pick.py +1 -1
- cbbd/models/draft_position.py +1 -1
- cbbd/models/draft_team.py +1 -1
- cbbd/models/game_box_score_players.py +23 -2
- cbbd/models/game_box_score_players_players_inner.py +1 -1
- cbbd/models/game_box_score_team.py +23 -2
- cbbd/models/game_box_score_team_stats.py +1 -1
- cbbd/models/game_box_score_team_stats_points.py +1 -1
- cbbd/models/game_info.py +23 -2
- cbbd/models/game_line_info.py +1 -1
- cbbd/models/game_lines.py +1 -1
- cbbd/models/game_media_info.py +9 -2
- cbbd/models/game_media_info_broadcasts_inner.py +1 -1
- cbbd/models/game_status.py +1 -1
- cbbd/models/line_provider_info.py +1 -1
- cbbd/models/lineup_stats.py +1 -1
- cbbd/models/lineup_unit_stats.py +1 -1
- cbbd/models/lineup_unit_stats_four_factors.py +1 -1
- cbbd/models/lineup_unit_stats_two_pointers.py +1 -1
- cbbd/models/play_info.py +23 -2
- cbbd/models/play_info_on_floor_inner.py +1 -1
- cbbd/models/play_info_participants_inner.py +1 -1
- cbbd/models/play_type_info.py +1 -1
- cbbd/models/player_season_stats.py +1 -1
- cbbd/models/player_season_stats_win_shares.py +1 -1
- cbbd/models/player_subsititution.py +1 -1
- cbbd/models/player_subsititution_sub_in.py +1 -1
- cbbd/models/poll_team_info.py +1 -1
- cbbd/models/recruit.py +1 -1
- cbbd/models/recruit_committed_to.py +1 -1
- cbbd/models/recruit_hometown.py +1 -1
- cbbd/models/season_type.py +1 -1
- cbbd/models/shooting_stats.py +1 -1
- cbbd/models/shot_info.py +1 -1
- cbbd/models/shot_info_location.py +1 -1
- cbbd/models/shot_info_shooter.py +1 -1
- cbbd/models/srs_info.py +1 -1
- cbbd/models/team_info.py +1 -1
- cbbd/models/team_roster.py +1 -1
- cbbd/models/team_roster_player.py +1 -1
- cbbd/models/team_roster_player_hometown.py +1 -1
- cbbd/models/team_season_stats.py +1 -1
- cbbd/models/team_season_unit_stats.py +1 -1
- cbbd/models/team_season_unit_stats_field_goals.py +1 -1
- cbbd/models/team_season_unit_stats_fouls.py +1 -1
- cbbd/models/team_season_unit_stats_four_factors.py +1 -1
- cbbd/models/team_season_unit_stats_points.py +1 -1
- cbbd/models/team_season_unit_stats_rebounds.py +1 -1
- cbbd/models/team_season_unit_stats_turnovers.py +1 -1
- cbbd/models/venue_info.py +1 -1
- cbbd/rest.py +1 -1
- {cbbd-1.18.2.dist-info → cbbd-1.19.0.dist-info}/METADATA +1 -1
- cbbd-1.19.0.dist-info/RECORD +80 -0
- cbbd-1.18.2.dist-info/RECORD +0 -80
- {cbbd-1.18.2.dist-info → cbbd-1.19.0.dist-info}/WHEEL +0 -0
- {cbbd-1.18.2.dist-info → cbbd-1.19.0.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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
380
|
-
"SDK Package Version: 1.
|
379
|
+
"Version of the API: 1.19.0\n"\
|
380
|
+
"SDK Package Version: 1.19.0".\
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
9
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
cbbd/models/conference_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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
cbbd/models/draft_position.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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -32,14 +32,17 @@ 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")
|
44
47
|
conference_game: StrictBool = Field(default=..., alias="conferenceGame")
|
45
48
|
game_type: Optional[StrictStr] = Field(default=..., alias="gameType")
|
@@ -47,7 +50,7 @@ class GameBoxScorePlayers(BaseModel):
|
|
47
50
|
game_minutes: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="gameMinutes")
|
48
51
|
game_pace: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="gamePace")
|
49
52
|
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"]
|
53
|
+
__properties = ["gameId", "season", "seasonLabel", "seasonType", "tournament", "startDate", "startTimeTbd", "teamId", "team", "conference", "teamSeed", "opponentId", "opponent", "opponentConference", "opponentSeed", "neutralSite", "conferenceGame", "gameType", "notes", "gameMinutes", "gamePace", "players"]
|
51
54
|
|
52
55
|
class Config:
|
53
56
|
"""Pydantic configuration"""
|
@@ -80,16 +83,31 @@ class GameBoxScorePlayers(BaseModel):
|
|
80
83
|
if _item:
|
81
84
|
_items.append(_item.to_dict())
|
82
85
|
_dict['players'] = _items
|
86
|
+
# set to None if tournament (nullable) is None
|
87
|
+
# and __fields_set__ contains the field
|
88
|
+
if self.tournament is None and "tournament" in self.__fields_set__:
|
89
|
+
_dict['tournament'] = None
|
90
|
+
|
83
91
|
# set to None if conference (nullable) is None
|
84
92
|
# and __fields_set__ contains the field
|
85
93
|
if self.conference is None and "conference" in self.__fields_set__:
|
86
94
|
_dict['conference'] = None
|
87
95
|
|
96
|
+
# set to None if team_seed (nullable) is None
|
97
|
+
# and __fields_set__ contains the field
|
98
|
+
if self.team_seed is None and "team_seed" in self.__fields_set__:
|
99
|
+
_dict['teamSeed'] = None
|
100
|
+
|
88
101
|
# set to None if opponent_conference (nullable) is None
|
89
102
|
# and __fields_set__ contains the field
|
90
103
|
if self.opponent_conference is None and "opponent_conference" in self.__fields_set__:
|
91
104
|
_dict['opponentConference'] = None
|
92
105
|
|
106
|
+
# set to None if opponent_seed (nullable) is None
|
107
|
+
# and __fields_set__ contains the field
|
108
|
+
if self.opponent_seed is None and "opponent_seed" in self.__fields_set__:
|
109
|
+
_dict['opponentSeed'] = None
|
110
|
+
|
93
111
|
# set to None if game_type (nullable) is None
|
94
112
|
# and __fields_set__ contains the field
|
95
113
|
if self.game_type is None and "game_type" in self.__fields_set__:
|
@@ -126,14 +144,17 @@ class GameBoxScorePlayers(BaseModel):
|
|
126
144
|
"season": obj.get("season"),
|
127
145
|
"season_label": obj.get("seasonLabel"),
|
128
146
|
"season_type": obj.get("seasonType"),
|
147
|
+
"tournament": obj.get("tournament"),
|
129
148
|
"start_date": obj.get("startDate"),
|
130
149
|
"start_time_tbd": obj.get("startTimeTbd"),
|
131
150
|
"team_id": obj.get("teamId"),
|
132
151
|
"team": obj.get("team"),
|
133
152
|
"conference": obj.get("conference"),
|
153
|
+
"team_seed": obj.get("teamSeed"),
|
134
154
|
"opponent_id": obj.get("opponentId"),
|
135
155
|
"opponent": obj.get("opponent"),
|
136
156
|
"opponent_conference": obj.get("opponentConference"),
|
157
|
+
"opponent_seed": obj.get("opponentSeed"),
|
137
158
|
"neutral_site": obj.get("neutralSite"),
|
138
159
|
"conference_game": obj.get("conferenceGame"),
|
139
160
|
"game_type": obj.get("gameType"),
|
@@ -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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -32,14 +32,17 @@ 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")
|
44
47
|
conference_game: StrictBool = Field(default=..., alias="conferenceGame")
|
45
48
|
game_type: Optional[StrictStr] = Field(default=..., alias="gameType")
|
@@ -48,7 +51,7 @@ class GameBoxScoreTeam(BaseModel):
|
|
48
51
|
pace: Optional[Union[StrictFloat, StrictInt]] = Field(...)
|
49
52
|
team_stats: GameBoxScoreTeamStats = Field(default=..., alias="teamStats")
|
50
53
|
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"]
|
54
|
+
__properties = ["gameId", "season", "seasonLabel", "seasonType", "tournament", "startDate", "startTimeTbd", "teamId", "team", "conference", "teamSeed", "opponentId", "opponent", "opponentConference", "opponentSeed", "neutralSite", "conferenceGame", "gameType", "notes", "gameMinutes", "pace", "teamStats", "opponentStats"]
|
52
55
|
|
53
56
|
class Config:
|
54
57
|
"""Pydantic configuration"""
|
@@ -80,16 +83,31 @@ class GameBoxScoreTeam(BaseModel):
|
|
80
83
|
# override the default output from pydantic by calling `to_dict()` of opponent_stats
|
81
84
|
if self.opponent_stats:
|
82
85
|
_dict['opponentStats'] = self.opponent_stats.to_dict()
|
86
|
+
# set to None if tournament (nullable) is None
|
87
|
+
# and __fields_set__ contains the field
|
88
|
+
if self.tournament is None and "tournament" in self.__fields_set__:
|
89
|
+
_dict['tournament'] = None
|
90
|
+
|
83
91
|
# set to None if conference (nullable) is None
|
84
92
|
# and __fields_set__ contains the field
|
85
93
|
if self.conference is None and "conference" in self.__fields_set__:
|
86
94
|
_dict['conference'] = None
|
87
95
|
|
96
|
+
# set to None if team_seed (nullable) is None
|
97
|
+
# and __fields_set__ contains the field
|
98
|
+
if self.team_seed is None and "team_seed" in self.__fields_set__:
|
99
|
+
_dict['teamSeed'] = None
|
100
|
+
|
88
101
|
# set to None if opponent_conference (nullable) is None
|
89
102
|
# and __fields_set__ contains the field
|
90
103
|
if self.opponent_conference is None and "opponent_conference" in self.__fields_set__:
|
91
104
|
_dict['opponentConference'] = None
|
92
105
|
|
106
|
+
# set to None if opponent_seed (nullable) is None
|
107
|
+
# and __fields_set__ contains the field
|
108
|
+
if self.opponent_seed is None and "opponent_seed" in self.__fields_set__:
|
109
|
+
_dict['opponentSeed'] = None
|
110
|
+
|
93
111
|
# set to None if game_type (nullable) is None
|
94
112
|
# and __fields_set__ contains the field
|
95
113
|
if self.game_type is None and "game_type" in self.__fields_set__:
|
@@ -126,14 +144,17 @@ class GameBoxScoreTeam(BaseModel):
|
|
126
144
|
"season": obj.get("season"),
|
127
145
|
"season_label": obj.get("seasonLabel"),
|
128
146
|
"season_type": obj.get("seasonType"),
|
147
|
+
"tournament": obj.get("tournament"),
|
129
148
|
"start_date": obj.get("startDate"),
|
130
149
|
"start_time_tbd": obj.get("startTimeTbd"),
|
131
150
|
"team_id": obj.get("teamId"),
|
132
151
|
"team": obj.get("team"),
|
133
152
|
"conference": obj.get("conference"),
|
153
|
+
"team_seed": obj.get("teamSeed"),
|
134
154
|
"opponent_id": obj.get("opponentId"),
|
135
155
|
"opponent": obj.get("opponent"),
|
136
156
|
"opponent_conference": obj.get("opponentConference"),
|
157
|
+
"opponent_seed": obj.get("opponentSeed"),
|
137
158
|
"neutral_site": obj.get("neutralSite"),
|
138
159
|
"conference_game": obj.get("conferenceGame"),
|
139
160
|
"game_type": obj.get("gameType"),
|
@@ -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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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"),
|
cbbd/models/game_line_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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
cbbd/models/game_media_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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
cbbd/models/game_status.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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
cbbd/models/lineup_stats.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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
cbbd/models/lineup_unit_stats.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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.19.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|