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/__init__.py CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  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.
9
9
 
10
- The version of the OpenAPI document: 1.18.2
10
+ The version of the OpenAPI document: 1.19.1
11
11
  Contact: admin@collegefootballdata.com
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "1.18.2"
18
+ __version__ = "1.19.1"
19
19
 
20
20
  # import apis into sdk package
21
21
  from cbbd.api.conferences_api import ConferencesApi
@@ -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/api/draft_api.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/api/games_api.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
 
@@ -54,14 +54,14 @@ class GamesApi:
54
54
  self.api_client = api_client
55
55
 
56
56
  @validate_arguments
57
- def get_broadcasts(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, **kwargs) -> List[GameMediaInfo]: # noqa: E501
57
+ def get_broadcasts(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, tournament : Annotated[Optional[StrictStr], Field(description="Optional tournament filter (e.g. NCAA, NIT, etc)")] = None, **kwargs) -> List[GameMediaInfo]: # noqa: E501
58
58
  """get_broadcasts # noqa: E501
59
59
 
60
60
  Returns broadcast information on the first 3000 games that match the provided filters, ordered by start date. # noqa: E501
61
61
  This method makes a synchronous HTTP request by default. To make an
62
62
  asynchronous HTTP request, please pass async_req=True
63
63
 
64
- >>> thread = api.get_broadcasts(start_date_range, end_date_range, team, conference, season, season_type, async_req=True)
64
+ >>> thread = api.get_broadcasts(start_date_range, end_date_range, team, conference, season, season_type, tournament, async_req=True)
65
65
  >>> result = thread.get()
66
66
 
67
67
  :param start_date_range: Optional start timestamp in ISO 8601 format
@@ -76,6 +76,8 @@ class GamesApi:
76
76
  :type season: float
77
77
  :param season_type: Optional season type filter
78
78
  :type season_type: SeasonType
79
+ :param tournament: Optional tournament filter (e.g. NCAA, NIT, etc)
80
+ :type tournament: str
79
81
  :param async_req: Whether to execute the request asynchronously.
80
82
  :type async_req: bool, optional
81
83
  :param _request_timeout: timeout setting for this request.
@@ -91,17 +93,17 @@ class GamesApi:
91
93
  if '_preload_content' in kwargs:
92
94
  message = "Error! Please call the get_broadcasts_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
93
95
  raise ValueError(message)
94
- return self.get_broadcasts_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, **kwargs) # noqa: E501
96
+ return self.get_broadcasts_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, tournament, **kwargs) # noqa: E501
95
97
 
96
98
  @validate_arguments
97
- def get_broadcasts_with_http_info(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, **kwargs) -> ApiResponse: # noqa: E501
99
+ def get_broadcasts_with_http_info(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, tournament : Annotated[Optional[StrictStr], Field(description="Optional tournament filter (e.g. NCAA, NIT, etc)")] = None, **kwargs) -> ApiResponse: # noqa: E501
98
100
  """get_broadcasts # noqa: E501
99
101
 
100
102
  Returns broadcast information on the first 3000 games that match the provided filters, ordered by start date. # noqa: E501
101
103
  This method makes a synchronous HTTP request by default. To make an
102
104
  asynchronous HTTP request, please pass async_req=True
103
105
 
104
- >>> thread = api.get_broadcasts_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, async_req=True)
106
+ >>> thread = api.get_broadcasts_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, tournament, async_req=True)
105
107
  >>> result = thread.get()
106
108
 
107
109
  :param start_date_range: Optional start timestamp in ISO 8601 format
@@ -116,6 +118,8 @@ class GamesApi:
116
118
  :type season: float
117
119
  :param season_type: Optional season type filter
118
120
  :type season_type: SeasonType
121
+ :param tournament: Optional tournament filter (e.g. NCAA, NIT, etc)
122
+ :type tournament: str
119
123
  :param async_req: Whether to execute the request asynchronously.
120
124
  :type async_req: bool, optional
121
125
  :param _preload_content: if False, the ApiResponse.data will
@@ -149,7 +153,8 @@ class GamesApi:
149
153
  'team',
150
154
  'conference',
151
155
  'season',
152
- 'season_type'
156
+ 'season_type',
157
+ 'tournament'
153
158
  ]
154
159
  _all_params.extend(
155
160
  [
@@ -204,6 +209,9 @@ class GamesApi:
204
209
  if _params.get('season_type') is not None: # noqa: E501
205
210
  _query_params.append(('seasonType', _params['season_type'].value))
206
211
 
212
+ if _params.get('tournament') is not None: # noqa: E501
213
+ _query_params.append(('tournament', _params['tournament']))
214
+
207
215
  # process the header parameters
208
216
  _header_params = dict(_params.get('_headers', {}))
209
217
  # process the form parameters
@@ -240,14 +248,14 @@ class GamesApi:
240
248
  _request_auth=_params.get('_request_auth'))
241
249
 
242
250
  @validate_arguments
243
- def get_game_players(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, **kwargs) -> List[GameBoxScorePlayers]: # noqa: E501
251
+ def get_game_players(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, tournament : Annotated[Optional[StrictStr], Field(description="Optional tournament filter (e.g. NCAA, NIT, etc)")] = None, **kwargs) -> List[GameBoxScorePlayers]: # noqa: E501
244
252
  """get_game_players # noqa: E501
245
253
 
246
254
  Returns player box score statistics and metrics on the first 1000 games that match the provided filters, ordered by start date. # noqa: E501
247
255
  This method makes a synchronous HTTP request by default. To make an
248
256
  asynchronous HTTP request, please pass async_req=True
249
257
 
250
- >>> thread = api.get_game_players(start_date_range, end_date_range, team, conference, season, season_type, async_req=True)
258
+ >>> thread = api.get_game_players(start_date_range, end_date_range, team, conference, season, season_type, tournament, async_req=True)
251
259
  >>> result = thread.get()
252
260
 
253
261
  :param start_date_range: Optional start timestamp in ISO 8601 format
@@ -262,6 +270,8 @@ class GamesApi:
262
270
  :type season: float
263
271
  :param season_type: Optional season type filter
264
272
  :type season_type: SeasonType
273
+ :param tournament: Optional tournament filter (e.g. NCAA, NIT, etc)
274
+ :type tournament: str
265
275
  :param async_req: Whether to execute the request asynchronously.
266
276
  :type async_req: bool, optional
267
277
  :param _request_timeout: timeout setting for this request.
@@ -277,17 +287,17 @@ class GamesApi:
277
287
  if '_preload_content' in kwargs:
278
288
  message = "Error! Please call the get_game_players_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
279
289
  raise ValueError(message)
280
- return self.get_game_players_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, **kwargs) # noqa: E501
290
+ return self.get_game_players_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, tournament, **kwargs) # noqa: E501
281
291
 
282
292
  @validate_arguments
283
- def get_game_players_with_http_info(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, **kwargs) -> ApiResponse: # noqa: E501
293
+ def get_game_players_with_http_info(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, tournament : Annotated[Optional[StrictStr], Field(description="Optional tournament filter (e.g. NCAA, NIT, etc)")] = None, **kwargs) -> ApiResponse: # noqa: E501
284
294
  """get_game_players # noqa: E501
285
295
 
286
296
  Returns player box score statistics and metrics on the first 1000 games that match the provided filters, ordered by start date. # noqa: E501
287
297
  This method makes a synchronous HTTP request by default. To make an
288
298
  asynchronous HTTP request, please pass async_req=True
289
299
 
290
- >>> thread = api.get_game_players_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, async_req=True)
300
+ >>> thread = api.get_game_players_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, tournament, async_req=True)
291
301
  >>> result = thread.get()
292
302
 
293
303
  :param start_date_range: Optional start timestamp in ISO 8601 format
@@ -302,6 +312,8 @@ class GamesApi:
302
312
  :type season: float
303
313
  :param season_type: Optional season type filter
304
314
  :type season_type: SeasonType
315
+ :param tournament: Optional tournament filter (e.g. NCAA, NIT, etc)
316
+ :type tournament: str
305
317
  :param async_req: Whether to execute the request asynchronously.
306
318
  :type async_req: bool, optional
307
319
  :param _preload_content: if False, the ApiResponse.data will
@@ -335,7 +347,8 @@ class GamesApi:
335
347
  'team',
336
348
  'conference',
337
349
  'season',
338
- 'season_type'
350
+ 'season_type',
351
+ 'tournament'
339
352
  ]
340
353
  _all_params.extend(
341
354
  [
@@ -390,6 +403,9 @@ class GamesApi:
390
403
  if _params.get('season_type') is not None: # noqa: E501
391
404
  _query_params.append(('seasonType', _params['season_type'].value))
392
405
 
406
+ if _params.get('tournament') is not None: # noqa: E501
407
+ _query_params.append(('tournament', _params['tournament']))
408
+
393
409
  # process the header parameters
394
410
  _header_params = dict(_params.get('_headers', {}))
395
411
  # process the form parameters
@@ -426,14 +442,14 @@ class GamesApi:
426
442
  _request_auth=_params.get('_request_auth'))
427
443
 
428
444
  @validate_arguments
429
- def get_game_teams(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, **kwargs) -> List[GameBoxScoreTeam]: # noqa: E501
445
+ def get_game_teams(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, tournament : Annotated[Optional[StrictStr], Field(description="Optional tournament filter (e.g. NCAA, NIT, etc)")] = None, **kwargs) -> List[GameBoxScoreTeam]: # noqa: E501
430
446
  """get_game_teams # noqa: E501
431
447
 
432
448
  Returns team box score statistics and metrics on the first 3000 games that match the provided filters, ordered by start date. # noqa: E501
433
449
  This method makes a synchronous HTTP request by default. To make an
434
450
  asynchronous HTTP request, please pass async_req=True
435
451
 
436
- >>> thread = api.get_game_teams(start_date_range, end_date_range, team, conference, season, season_type, async_req=True)
452
+ >>> thread = api.get_game_teams(start_date_range, end_date_range, team, conference, season, season_type, tournament, async_req=True)
437
453
  >>> result = thread.get()
438
454
 
439
455
  :param start_date_range: Optional start timestamp in ISO 8601 format
@@ -448,6 +464,8 @@ class GamesApi:
448
464
  :type season: float
449
465
  :param season_type: Optional season type filter
450
466
  :type season_type: SeasonType
467
+ :param tournament: Optional tournament filter (e.g. NCAA, NIT, etc)
468
+ :type tournament: str
451
469
  :param async_req: Whether to execute the request asynchronously.
452
470
  :type async_req: bool, optional
453
471
  :param _request_timeout: timeout setting for this request.
@@ -463,17 +481,17 @@ class GamesApi:
463
481
  if '_preload_content' in kwargs:
464
482
  message = "Error! Please call the get_game_teams_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
465
483
  raise ValueError(message)
466
- return self.get_game_teams_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, **kwargs) # noqa: E501
484
+ return self.get_game_teams_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, tournament, **kwargs) # noqa: E501
467
485
 
468
486
  @validate_arguments
469
- def get_game_teams_with_http_info(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, **kwargs) -> ApiResponse: # noqa: E501
487
+ def get_game_teams_with_http_info(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, tournament : Annotated[Optional[StrictStr], Field(description="Optional tournament filter (e.g. NCAA, NIT, etc)")] = None, **kwargs) -> ApiResponse: # noqa: E501
470
488
  """get_game_teams # noqa: E501
471
489
 
472
490
  Returns team box score statistics and metrics on the first 3000 games that match the provided filters, ordered by start date. # noqa: E501
473
491
  This method makes a synchronous HTTP request by default. To make an
474
492
  asynchronous HTTP request, please pass async_req=True
475
493
 
476
- >>> thread = api.get_game_teams_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, async_req=True)
494
+ >>> thread = api.get_game_teams_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, tournament, async_req=True)
477
495
  >>> result = thread.get()
478
496
 
479
497
  :param start_date_range: Optional start timestamp in ISO 8601 format
@@ -488,6 +506,8 @@ class GamesApi:
488
506
  :type season: float
489
507
  :param season_type: Optional season type filter
490
508
  :type season_type: SeasonType
509
+ :param tournament: Optional tournament filter (e.g. NCAA, NIT, etc)
510
+ :type tournament: str
491
511
  :param async_req: Whether to execute the request asynchronously.
492
512
  :type async_req: bool, optional
493
513
  :param _preload_content: if False, the ApiResponse.data will
@@ -521,7 +541,8 @@ class GamesApi:
521
541
  'team',
522
542
  'conference',
523
543
  'season',
524
- 'season_type'
544
+ 'season_type',
545
+ 'tournament'
525
546
  ]
526
547
  _all_params.extend(
527
548
  [
@@ -576,6 +597,9 @@ class GamesApi:
576
597
  if _params.get('season_type') is not None: # noqa: E501
577
598
  _query_params.append(('seasonType', _params['season_type'].value))
578
599
 
600
+ if _params.get('tournament') is not None: # noqa: E501
601
+ _query_params.append(('tournament', _params['tournament']))
602
+
579
603
  # process the header parameters
580
604
  _header_params = dict(_params.get('_headers', {}))
581
605
  # process the form parameters
@@ -612,14 +636,14 @@ class GamesApi:
612
636
  _request_auth=_params.get('_request_auth'))
613
637
 
614
638
  @validate_arguments
615
- def get_games(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[StrictInt], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, status : Annotated[Optional[GameStatus], Field(description="Optional game status filter")] = None, **kwargs) -> List[GameInfo]: # noqa: E501
639
+ def get_games(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[StrictInt], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, status : Annotated[Optional[GameStatus], Field(description="Optional game status filter")] = None, tournament : Annotated[Optional[StrictStr], Field(description="Optional tournament filter (e.g. NCAA, NIT, etc)")] = None, **kwargs) -> List[GameInfo]: # noqa: E501
616
640
  """get_games # noqa: E501
617
641
 
618
642
  Returns information on the first 3000 games that match the provided filters, ordered by start date. # noqa: E501
619
643
  This method makes a synchronous HTTP request by default. To make an
620
644
  asynchronous HTTP request, please pass async_req=True
621
645
 
622
- >>> thread = api.get_games(start_date_range, end_date_range, team, conference, season, season_type, status, async_req=True)
646
+ >>> thread = api.get_games(start_date_range, end_date_range, team, conference, season, season_type, status, tournament, async_req=True)
623
647
  >>> result = thread.get()
624
648
 
625
649
  :param start_date_range: Optional start timestamp in ISO 8601 format
@@ -636,6 +660,8 @@ class GamesApi:
636
660
  :type season_type: SeasonType
637
661
  :param status: Optional game status filter
638
662
  :type status: GameStatus
663
+ :param tournament: Optional tournament filter (e.g. NCAA, NIT, etc)
664
+ :type tournament: str
639
665
  :param async_req: Whether to execute the request asynchronously.
640
666
  :type async_req: bool, optional
641
667
  :param _request_timeout: timeout setting for this request.
@@ -651,17 +677,17 @@ class GamesApi:
651
677
  if '_preload_content' in kwargs:
652
678
  message = "Error! Please call the get_games_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
653
679
  raise ValueError(message)
654
- return self.get_games_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, status, **kwargs) # noqa: E501
680
+ return self.get_games_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, status, tournament, **kwargs) # noqa: E501
655
681
 
656
682
  @validate_arguments
657
- def get_games_with_http_info(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[StrictInt], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, status : Annotated[Optional[GameStatus], Field(description="Optional game status filter")] = None, **kwargs) -> ApiResponse: # noqa: E501
683
+ def get_games_with_http_info(self, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, season : Annotated[Optional[StrictInt], Field(description="Optional season filter")] = None, season_type : Annotated[Optional[SeasonType], Field(description="Optional season type filter")] = None, status : Annotated[Optional[GameStatus], Field(description="Optional game status filter")] = None, tournament : Annotated[Optional[StrictStr], Field(description="Optional tournament filter (e.g. NCAA, NIT, etc)")] = None, **kwargs) -> ApiResponse: # noqa: E501
658
684
  """get_games # noqa: E501
659
685
 
660
686
  Returns information on the first 3000 games that match the provided filters, ordered by start date. # noqa: E501
661
687
  This method makes a synchronous HTTP request by default. To make an
662
688
  asynchronous HTTP request, please pass async_req=True
663
689
 
664
- >>> thread = api.get_games_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, status, async_req=True)
690
+ >>> thread = api.get_games_with_http_info(start_date_range, end_date_range, team, conference, season, season_type, status, tournament, async_req=True)
665
691
  >>> result = thread.get()
666
692
 
667
693
  :param start_date_range: Optional start timestamp in ISO 8601 format
@@ -678,6 +704,8 @@ class GamesApi:
678
704
  :type season_type: SeasonType
679
705
  :param status: Optional game status filter
680
706
  :type status: GameStatus
707
+ :param tournament: Optional tournament filter (e.g. NCAA, NIT, etc)
708
+ :type tournament: str
681
709
  :param async_req: Whether to execute the request asynchronously.
682
710
  :type async_req: bool, optional
683
711
  :param _preload_content: if False, the ApiResponse.data will
@@ -712,7 +740,8 @@ class GamesApi:
712
740
  'conference',
713
741
  'season',
714
742
  'season_type',
715
- 'status'
743
+ 'status',
744
+ 'tournament'
716
745
  ]
717
746
  _all_params.extend(
718
747
  [
@@ -770,6 +799,9 @@ class GamesApi:
770
799
  if _params.get('status') is not None: # noqa: E501
771
800
  _query_params.append(('status', _params['status'].value))
772
801
 
802
+ if _params.get('tournament') is not None: # noqa: E501
803
+ _query_params.append(('tournament', _params['tournament']))
804
+
773
805
  # process the header parameters
774
806
  _header_params = dict(_params.get('_headers', {}))
775
807
  # process the form parameters
cbbd/api/lines_api.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/api/lineups_api.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/api/plays_api.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
 
@@ -22,9 +22,9 @@ from pydantic import validate_arguments, ValidationError
22
22
  from typing_extensions import Annotated
23
23
  from datetime import datetime
24
24
 
25
- from pydantic import Field, StrictBool, StrictInt, StrictStr
25
+ from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr
26
26
 
27
- from typing import List, Optional
27
+ from typing import List, Optional, Union
28
28
 
29
29
  from cbbd.models.play_info import PlayInfo
30
30
  from cbbd.models.play_type_info import PlayTypeInfo
@@ -793,6 +793,162 @@ class PlaysApi:
793
793
  collection_formats=_collection_formats,
794
794
  _request_auth=_params.get('_request_auth'))
795
795
 
796
+ @validate_arguments
797
+ def get_plays_by_tournament(self, tournament : Annotated[StrictStr, Field(..., description="Required tournament filter (e.g. NCAA, NIT, etc)")], season : Annotated[Union[StrictFloat, StrictInt], Field(..., description="Required season filter")], shooting_plays_only : Annotated[Optional[StrictBool], Field(description="Optional filter to only return shooting plays")] = None, **kwargs) -> List[PlayInfo]: # noqa: E501
798
+ """get_plays_by_tournament # noqa: E501
799
+
800
+ Retrieve all plays for a given tournament and season # noqa: E501
801
+ This method makes a synchronous HTTP request by default. To make an
802
+ asynchronous HTTP request, please pass async_req=True
803
+
804
+ >>> thread = api.get_plays_by_tournament(tournament, season, shooting_plays_only, async_req=True)
805
+ >>> result = thread.get()
806
+
807
+ :param tournament: Required tournament filter (e.g. NCAA, NIT, etc) (required)
808
+ :type tournament: str
809
+ :param season: Required season filter (required)
810
+ :type season: float
811
+ :param shooting_plays_only: Optional filter to only return shooting plays
812
+ :type shooting_plays_only: bool
813
+ :param async_req: Whether to execute the request asynchronously.
814
+ :type async_req: bool, optional
815
+ :param _request_timeout: timeout setting for this request.
816
+ If one number provided, it will be total request
817
+ timeout. It can also be a pair (tuple) of
818
+ (connection, read) timeouts.
819
+ :return: Returns the result object.
820
+ If the method is called asynchronously,
821
+ returns the request thread.
822
+ :rtype: List[PlayInfo]
823
+ """
824
+ kwargs['_return_http_data_only'] = True
825
+ if '_preload_content' in kwargs:
826
+ message = "Error! Please call the get_plays_by_tournament_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
827
+ raise ValueError(message)
828
+ return self.get_plays_by_tournament_with_http_info(tournament, season, shooting_plays_only, **kwargs) # noqa: E501
829
+
830
+ @validate_arguments
831
+ def get_plays_by_tournament_with_http_info(self, tournament : Annotated[StrictStr, Field(..., description="Required tournament filter (e.g. NCAA, NIT, etc)")], season : Annotated[Union[StrictFloat, StrictInt], Field(..., description="Required season filter")], shooting_plays_only : Annotated[Optional[StrictBool], Field(description="Optional filter to only return shooting plays")] = None, **kwargs) -> ApiResponse: # noqa: E501
832
+ """get_plays_by_tournament # noqa: E501
833
+
834
+ Retrieve all plays for a given tournament and season # noqa: E501
835
+ This method makes a synchronous HTTP request by default. To make an
836
+ asynchronous HTTP request, please pass async_req=True
837
+
838
+ >>> thread = api.get_plays_by_tournament_with_http_info(tournament, season, shooting_plays_only, async_req=True)
839
+ >>> result = thread.get()
840
+
841
+ :param tournament: Required tournament filter (e.g. NCAA, NIT, etc) (required)
842
+ :type tournament: str
843
+ :param season: Required season filter (required)
844
+ :type season: float
845
+ :param shooting_plays_only: Optional filter to only return shooting plays
846
+ :type shooting_plays_only: bool
847
+ :param async_req: Whether to execute the request asynchronously.
848
+ :type async_req: bool, optional
849
+ :param _preload_content: if False, the ApiResponse.data will
850
+ be set to none and raw_data will store the
851
+ HTTP response body without reading/decoding.
852
+ Default is True.
853
+ :type _preload_content: bool, optional
854
+ :param _return_http_data_only: response data instead of ApiResponse
855
+ object with status code, headers, etc
856
+ :type _return_http_data_only: bool, optional
857
+ :param _request_timeout: timeout setting for this request. If one
858
+ number provided, it will be total request
859
+ timeout. It can also be a pair (tuple) of
860
+ (connection, read) timeouts.
861
+ :param _request_auth: set to override the auth_settings for an a single
862
+ request; this effectively ignores the authentication
863
+ in the spec for a single request.
864
+ :type _request_auth: dict, optional
865
+ :type _content_type: string, optional: force content-type for the request
866
+ :return: Returns the result object.
867
+ If the method is called asynchronously,
868
+ returns the request thread.
869
+ :rtype: tuple(List[PlayInfo], status_code(int), headers(HTTPHeaderDict))
870
+ """
871
+
872
+ _params = locals()
873
+
874
+ _all_params = [
875
+ 'tournament',
876
+ 'season',
877
+ 'shooting_plays_only'
878
+ ]
879
+ _all_params.extend(
880
+ [
881
+ 'async_req',
882
+ '_return_http_data_only',
883
+ '_preload_content',
884
+ '_request_timeout',
885
+ '_request_auth',
886
+ '_content_type',
887
+ '_headers'
888
+ ]
889
+ )
890
+
891
+ # validate the arguments
892
+ for _key, _val in _params['kwargs'].items():
893
+ if _key not in _all_params:
894
+ raise ApiTypeError(
895
+ "Got an unexpected keyword argument '%s'"
896
+ " to method get_plays_by_tournament" % _key
897
+ )
898
+ _params[_key] = _val
899
+ del _params['kwargs']
900
+
901
+ _collection_formats = {}
902
+
903
+ # process the path parameters
904
+ _path_params = {}
905
+
906
+ # process the query parameters
907
+ _query_params = []
908
+ if _params.get('tournament') is not None: # noqa: E501
909
+ _query_params.append(('tournament', _params['tournament']))
910
+
911
+ if _params.get('season') is not None: # noqa: E501
912
+ _query_params.append(('season', _params['season']))
913
+
914
+ if _params.get('shooting_plays_only') is not None: # noqa: E501
915
+ _query_params.append(('shootingPlaysOnly', _params['shooting_plays_only']))
916
+
917
+ # process the header parameters
918
+ _header_params = dict(_params.get('_headers', {}))
919
+ # process the form parameters
920
+ _form_params = []
921
+ _files = {}
922
+ # process the body parameter
923
+ _body_params = None
924
+ # set the HTTP header `Accept`
925
+ _header_params['Accept'] = self.api_client.select_header_accept(
926
+ ['application/json']) # noqa: E501
927
+
928
+ # authentication setting
929
+ _auth_settings = ['apiKey'] # noqa: E501
930
+
931
+ _response_types_map = {
932
+ '200': "List[PlayInfo]",
933
+ }
934
+
935
+ return self.api_client.call_api(
936
+ '/plays/tournament', 'GET',
937
+ _path_params,
938
+ _query_params,
939
+ _header_params,
940
+ body=_body_params,
941
+ post_params=_form_params,
942
+ files=_files,
943
+ response_types_map=_response_types_map,
944
+ auth_settings=_auth_settings,
945
+ async_req=_params.get('async_req'),
946
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
947
+ _preload_content=_params.get('_preload_content', True),
948
+ _request_timeout=_params.get('_request_timeout'),
949
+ collection_formats=_collection_formats,
950
+ _request_auth=_params.get('_request_auth'))
951
+
796
952
  @validate_arguments
797
953
  def get_substitutions_by_game(self, game_id : Annotated[StrictInt, Field(..., description="Game id filter")], **kwargs) -> List[PlayerSubsititution]: # noqa: E501
798
954
  """get_substitutions_by_game # noqa: E501
cbbd/api/rankings_api.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/api/ratings_api.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/api/stats_api.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/api/teams_api.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/api/venues_api.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/api_client.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
 
@@ -78,7 +78,7 @@ class ApiClient:
78
78
  self.default_headers[header_name] = header_value
79
79
  self.cookie = cookie
80
80
  # Set default User-Agent.
81
- self.user_agent = 'OpenAPI-Generator/1.18.2/python'
81
+ self.user_agent = 'OpenAPI-Generator/1.19.1/python'
82
82
  self.client_side_validation = configuration.client_side_validation
83
83
 
84
84
  def __enter__(self):