cbbd 1.7.3__py3-none-any.whl → 1.8.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 +4 -2
- cbbd/api/conferences_api.py +1 -1
- cbbd/api/games_api.py +1 -1
- cbbd/api/lines_api.py +1 -1
- cbbd/api/plays_api.py +59 -27
- cbbd/api/ratings_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 +3 -1
- cbbd/models/adjusted_efficiency_info.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/game_box_score_players.py +1 -1
- cbbd/models/game_box_score_players_players_inner.py +1 -1
- cbbd/models/game_box_score_team.py +1 -1
- 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 +1 -1
- cbbd/models/game_line_info.py +1 -1
- cbbd/models/game_lines.py +1 -1
- cbbd/models/game_media_info.py +1 -1
- 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/play_info.py +14 -3
- 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/season_type.py +1 -1
- cbbd/models/shot_info.py +104 -0
- cbbd/models/shot_info_shooter.py +74 -0
- 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.7.3.dist-info → cbbd-1.8.0.dist-info}/METADATA +1 -1
- cbbd-1.8.0.dist-info/RECORD +58 -0
- cbbd-1.7.3.dist-info/RECORD +0 -56
- {cbbd-1.7.3.dist-info → cbbd-1.8.0.dist-info}/WHEEL +0 -0
- {cbbd-1.7.3.dist-info → cbbd-1.8.0.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.
|
10
|
+
The version of the OpenAPI document: 1.8.0
|
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
|
+
__version__ = "1.8.0"
|
19
19
|
|
20
20
|
# import apis into sdk package
|
21
21
|
from cbbd.api.conferences_api import ConferencesApi
|
@@ -60,6 +60,8 @@ from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
|
|
60
60
|
from cbbd.models.play_type_info import PlayTypeInfo
|
61
61
|
from cbbd.models.player_season_stats import PlayerSeasonStats
|
62
62
|
from cbbd.models.season_type import SeasonType
|
63
|
+
from cbbd.models.shot_info import ShotInfo
|
64
|
+
from cbbd.models.shot_info_shooter import ShotInfoShooter
|
63
65
|
from cbbd.models.srs_info import SrsInfo
|
64
66
|
from cbbd.models.team_info import TeamInfo
|
65
67
|
from cbbd.models.team_roster import TeamRoster
|
cbbd/api/conferences_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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
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, StrictInt, StrictStr
|
25
|
+
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
26
26
|
|
27
|
-
from typing import List
|
27
|
+
from typing import List, Optional
|
28
28
|
|
29
29
|
from cbbd.models.play_info import PlayInfo
|
30
30
|
from cbbd.models.play_type_info import PlayTypeInfo
|
@@ -182,18 +182,20 @@ class PlaysApi:
|
|
182
182
|
_request_auth=_params.get('_request_auth'))
|
183
183
|
|
184
184
|
@validate_arguments
|
185
|
-
def get_plays(self, game_id : Annotated[StrictInt, Field(..., description="Game id filter")], **kwargs) -> List[PlayInfo]: # noqa: E501
|
185
|
+
def get_plays(self, game_id : Annotated[StrictInt, Field(..., description="Game id filter")], shooting_plays_only : Annotated[Optional[StrictBool], Field(description="Optional filter to only return shooting plays")] = None, **kwargs) -> List[PlayInfo]: # noqa: E501
|
186
186
|
"""get_plays # noqa: E501
|
187
187
|
|
188
188
|
Returns all plays for a given game # noqa: E501
|
189
189
|
This method makes a synchronous HTTP request by default. To make an
|
190
190
|
asynchronous HTTP request, please pass async_req=True
|
191
191
|
|
192
|
-
>>> thread = api.get_plays(game_id, async_req=True)
|
192
|
+
>>> thread = api.get_plays(game_id, shooting_plays_only, async_req=True)
|
193
193
|
>>> result = thread.get()
|
194
194
|
|
195
195
|
:param game_id: Game id filter (required)
|
196
196
|
:type game_id: int
|
197
|
+
:param shooting_plays_only: Optional filter to only return shooting plays
|
198
|
+
:type shooting_plays_only: bool
|
197
199
|
:param async_req: Whether to execute the request asynchronously.
|
198
200
|
:type async_req: bool, optional
|
199
201
|
:param _request_timeout: timeout setting for this request.
|
@@ -209,21 +211,23 @@ class PlaysApi:
|
|
209
211
|
if '_preload_content' in kwargs:
|
210
212
|
message = "Error! Please call the get_plays_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
211
213
|
raise ValueError(message)
|
212
|
-
return self.get_plays_with_http_info(game_id, **kwargs) # noqa: E501
|
214
|
+
return self.get_plays_with_http_info(game_id, shooting_plays_only, **kwargs) # noqa: E501
|
213
215
|
|
214
216
|
@validate_arguments
|
215
|
-
def get_plays_with_http_info(self, game_id : Annotated[StrictInt, Field(..., description="Game id filter")], **kwargs) -> ApiResponse: # noqa: E501
|
217
|
+
def get_plays_with_http_info(self, game_id : Annotated[StrictInt, Field(..., description="Game id filter")], shooting_plays_only : Annotated[Optional[StrictBool], Field(description="Optional filter to only return shooting plays")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
216
218
|
"""get_plays # noqa: E501
|
217
219
|
|
218
220
|
Returns all plays for a given game # noqa: E501
|
219
221
|
This method makes a synchronous HTTP request by default. To make an
|
220
222
|
asynchronous HTTP request, please pass async_req=True
|
221
223
|
|
222
|
-
>>> thread = api.get_plays_with_http_info(game_id, async_req=True)
|
224
|
+
>>> thread = api.get_plays_with_http_info(game_id, shooting_plays_only, async_req=True)
|
223
225
|
>>> result = thread.get()
|
224
226
|
|
225
227
|
:param game_id: Game id filter (required)
|
226
228
|
:type game_id: int
|
229
|
+
:param shooting_plays_only: Optional filter to only return shooting plays
|
230
|
+
:type shooting_plays_only: bool
|
227
231
|
:param async_req: Whether to execute the request asynchronously.
|
228
232
|
:type async_req: bool, optional
|
229
233
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -252,7 +256,8 @@ class PlaysApi:
|
|
252
256
|
_params = locals()
|
253
257
|
|
254
258
|
_all_params = [
|
255
|
-
'game_id'
|
259
|
+
'game_id',
|
260
|
+
'shooting_plays_only'
|
256
261
|
]
|
257
262
|
_all_params.extend(
|
258
263
|
[
|
@@ -286,6 +291,9 @@ class PlaysApi:
|
|
286
291
|
|
287
292
|
# process the query parameters
|
288
293
|
_query_params = []
|
294
|
+
if _params.get('shooting_plays_only') is not None: # noqa: E501
|
295
|
+
_query_params.append(('shootingPlaysOnly', _params['shooting_plays_only']))
|
296
|
+
|
289
297
|
# process the header parameters
|
290
298
|
_header_params = dict(_params.get('_headers', {}))
|
291
299
|
# process the form parameters
|
@@ -322,18 +330,20 @@ class PlaysApi:
|
|
322
330
|
_request_auth=_params.get('_request_auth'))
|
323
331
|
|
324
332
|
@validate_arguments
|
325
|
-
def get_plays_by_date(self, var_date : Annotated[datetime, Field(..., description="Required date filter in ISO 8601 format (YYYY-MM-DD)")], **kwargs) -> List[PlayInfo]: # noqa: E501
|
333
|
+
def get_plays_by_date(self, var_date : Annotated[datetime, Field(..., description="Required date filter in ISO 8601 format (YYYY-MM-DD)")], shooting_plays_only : Annotated[Optional[StrictBool], Field(description="Optional filter to only return shooting plays")] = None, **kwargs) -> List[PlayInfo]: # noqa: E501
|
326
334
|
"""get_plays_by_date # noqa: E501
|
327
335
|
|
328
336
|
Retrieve all plays for a given UTC date # noqa: E501
|
329
337
|
This method makes a synchronous HTTP request by default. To make an
|
330
338
|
asynchronous HTTP request, please pass async_req=True
|
331
339
|
|
332
|
-
>>> thread = api.get_plays_by_date(var_date, async_req=True)
|
340
|
+
>>> thread = api.get_plays_by_date(var_date, shooting_plays_only, async_req=True)
|
333
341
|
>>> result = thread.get()
|
334
342
|
|
335
343
|
:param var_date: Required date filter in ISO 8601 format (YYYY-MM-DD) (required)
|
336
344
|
:type var_date: datetime
|
345
|
+
:param shooting_plays_only: Optional filter to only return shooting plays
|
346
|
+
:type shooting_plays_only: bool
|
337
347
|
:param async_req: Whether to execute the request asynchronously.
|
338
348
|
:type async_req: bool, optional
|
339
349
|
:param _request_timeout: timeout setting for this request.
|
@@ -349,21 +359,23 @@ class PlaysApi:
|
|
349
359
|
if '_preload_content' in kwargs:
|
350
360
|
message = "Error! Please call the get_plays_by_date_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
351
361
|
raise ValueError(message)
|
352
|
-
return self.get_plays_by_date_with_http_info(var_date, **kwargs) # noqa: E501
|
362
|
+
return self.get_plays_by_date_with_http_info(var_date, shooting_plays_only, **kwargs) # noqa: E501
|
353
363
|
|
354
364
|
@validate_arguments
|
355
|
-
def get_plays_by_date_with_http_info(self, var_date : Annotated[datetime, Field(..., description="Required date filter in ISO 8601 format (YYYY-MM-DD)")], **kwargs) -> ApiResponse: # noqa: E501
|
365
|
+
def get_plays_by_date_with_http_info(self, var_date : Annotated[datetime, Field(..., description="Required date filter in ISO 8601 format (YYYY-MM-DD)")], shooting_plays_only : Annotated[Optional[StrictBool], Field(description="Optional filter to only return shooting plays")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
356
366
|
"""get_plays_by_date # noqa: E501
|
357
367
|
|
358
368
|
Retrieve all plays for a given UTC date # noqa: E501
|
359
369
|
This method makes a synchronous HTTP request by default. To make an
|
360
370
|
asynchronous HTTP request, please pass async_req=True
|
361
371
|
|
362
|
-
>>> thread = api.get_plays_by_date_with_http_info(var_date, async_req=True)
|
372
|
+
>>> thread = api.get_plays_by_date_with_http_info(var_date, shooting_plays_only, async_req=True)
|
363
373
|
>>> result = thread.get()
|
364
374
|
|
365
375
|
:param var_date: Required date filter in ISO 8601 format (YYYY-MM-DD) (required)
|
366
376
|
:type var_date: datetime
|
377
|
+
:param shooting_plays_only: Optional filter to only return shooting plays
|
378
|
+
:type shooting_plays_only: bool
|
367
379
|
:param async_req: Whether to execute the request asynchronously.
|
368
380
|
:type async_req: bool, optional
|
369
381
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -392,7 +404,8 @@ class PlaysApi:
|
|
392
404
|
_params = locals()
|
393
405
|
|
394
406
|
_all_params = [
|
395
|
-
'var_date'
|
407
|
+
'var_date',
|
408
|
+
'shooting_plays_only'
|
396
409
|
]
|
397
410
|
_all_params.extend(
|
398
411
|
[
|
@@ -429,6 +442,9 @@ class PlaysApi:
|
|
429
442
|
else:
|
430
443
|
_query_params.append(('date', _params['var_date']))
|
431
444
|
|
445
|
+
if _params.get('shooting_plays_only') is not None: # noqa: E501
|
446
|
+
_query_params.append(('shootingPlaysOnly', _params['shooting_plays_only']))
|
447
|
+
|
432
448
|
# process the header parameters
|
433
449
|
_header_params = dict(_params.get('_headers', {}))
|
434
450
|
# process the form parameters
|
@@ -465,20 +481,22 @@ class PlaysApi:
|
|
465
481
|
_request_auth=_params.get('_request_auth'))
|
466
482
|
|
467
483
|
@validate_arguments
|
468
|
-
def get_plays_by_player_id(self, player_id : Annotated[StrictInt, Field(..., description="Required player id filter")], season : Annotated[StrictInt, Field(..., description="Required season filter")], **kwargs) -> List[PlayInfo]: # noqa: E501
|
484
|
+
def get_plays_by_player_id(self, player_id : Annotated[StrictInt, Field(..., description="Required player id filter")], season : Annotated[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
|
469
485
|
"""get_plays_by_player_id # noqa: E501
|
470
486
|
|
471
487
|
Retrieve all plays for a given player and season # noqa: E501
|
472
488
|
This method makes a synchronous HTTP request by default. To make an
|
473
489
|
asynchronous HTTP request, please pass async_req=True
|
474
490
|
|
475
|
-
>>> thread = api.get_plays_by_player_id(player_id, season, async_req=True)
|
491
|
+
>>> thread = api.get_plays_by_player_id(player_id, season, shooting_plays_only, async_req=True)
|
476
492
|
>>> result = thread.get()
|
477
493
|
|
478
494
|
:param player_id: Required player id filter (required)
|
479
495
|
:type player_id: int
|
480
496
|
:param season: Required season filter (required)
|
481
497
|
:type season: int
|
498
|
+
:param shooting_plays_only: Optional filter to only return shooting plays
|
499
|
+
:type shooting_plays_only: bool
|
482
500
|
:param async_req: Whether to execute the request asynchronously.
|
483
501
|
:type async_req: bool, optional
|
484
502
|
:param _request_timeout: timeout setting for this request.
|
@@ -494,23 +512,25 @@ class PlaysApi:
|
|
494
512
|
if '_preload_content' in kwargs:
|
495
513
|
message = "Error! Please call the get_plays_by_player_id_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
496
514
|
raise ValueError(message)
|
497
|
-
return self.get_plays_by_player_id_with_http_info(player_id, season, **kwargs) # noqa: E501
|
515
|
+
return self.get_plays_by_player_id_with_http_info(player_id, season, shooting_plays_only, **kwargs) # noqa: E501
|
498
516
|
|
499
517
|
@validate_arguments
|
500
|
-
def get_plays_by_player_id_with_http_info(self, player_id : Annotated[StrictInt, Field(..., description="Required player id filter")], season : Annotated[StrictInt, Field(..., description="Required season filter")], **kwargs) -> ApiResponse: # noqa: E501
|
518
|
+
def get_plays_by_player_id_with_http_info(self, player_id : Annotated[StrictInt, Field(..., description="Required player id filter")], season : Annotated[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
|
501
519
|
"""get_plays_by_player_id # noqa: E501
|
502
520
|
|
503
521
|
Retrieve all plays for a given player and season # noqa: E501
|
504
522
|
This method makes a synchronous HTTP request by default. To make an
|
505
523
|
asynchronous HTTP request, please pass async_req=True
|
506
524
|
|
507
|
-
>>> thread = api.get_plays_by_player_id_with_http_info(player_id, season, async_req=True)
|
525
|
+
>>> thread = api.get_plays_by_player_id_with_http_info(player_id, season, shooting_plays_only, async_req=True)
|
508
526
|
>>> result = thread.get()
|
509
527
|
|
510
528
|
:param player_id: Required player id filter (required)
|
511
529
|
:type player_id: int
|
512
530
|
:param season: Required season filter (required)
|
513
531
|
:type season: int
|
532
|
+
:param shooting_plays_only: Optional filter to only return shooting plays
|
533
|
+
:type shooting_plays_only: bool
|
514
534
|
:param async_req: Whether to execute the request asynchronously.
|
515
535
|
:type async_req: bool, optional
|
516
536
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -540,7 +560,8 @@ class PlaysApi:
|
|
540
560
|
|
541
561
|
_all_params = [
|
542
562
|
'player_id',
|
543
|
-
'season'
|
563
|
+
'season',
|
564
|
+
'shooting_plays_only'
|
544
565
|
]
|
545
566
|
_all_params.extend(
|
546
567
|
[
|
@@ -577,6 +598,9 @@ class PlaysApi:
|
|
577
598
|
if _params.get('season') is not None: # noqa: E501
|
578
599
|
_query_params.append(('season', _params['season']))
|
579
600
|
|
601
|
+
if _params.get('shooting_plays_only') is not None: # noqa: E501
|
602
|
+
_query_params.append(('shootingPlaysOnly', _params['shooting_plays_only']))
|
603
|
+
|
580
604
|
# process the header parameters
|
581
605
|
_header_params = dict(_params.get('_headers', {}))
|
582
606
|
# process the form parameters
|
@@ -613,20 +637,22 @@ class PlaysApi:
|
|
613
637
|
_request_auth=_params.get('_request_auth'))
|
614
638
|
|
615
639
|
@validate_arguments
|
616
|
-
def get_plays_by_team(self, season : Annotated[StrictInt, Field(..., description="Required season filter")], team : Annotated[StrictStr, Field(..., description="Required team filter")], **kwargs) -> List[PlayInfo]: # noqa: E501
|
640
|
+
def get_plays_by_team(self, season : Annotated[StrictInt, Field(..., description="Required season filter")], team : Annotated[StrictStr, Field(..., description="Required team filter")], shooting_plays_only : Annotated[Optional[StrictBool], Field(description="Optional filter to only return shooting plays")] = None, **kwargs) -> List[PlayInfo]: # noqa: E501
|
617
641
|
"""get_plays_by_team # noqa: E501
|
618
642
|
|
619
643
|
Retrieve all plays for a given team and season # noqa: E501
|
620
644
|
This method makes a synchronous HTTP request by default. To make an
|
621
645
|
asynchronous HTTP request, please pass async_req=True
|
622
646
|
|
623
|
-
>>> thread = api.get_plays_by_team(season, team, async_req=True)
|
647
|
+
>>> thread = api.get_plays_by_team(season, team, shooting_plays_only, async_req=True)
|
624
648
|
>>> result = thread.get()
|
625
649
|
|
626
650
|
:param season: Required season filter (required)
|
627
651
|
:type season: int
|
628
652
|
:param team: Required team filter (required)
|
629
653
|
:type team: str
|
654
|
+
:param shooting_plays_only: Optional filter to only return shooting plays
|
655
|
+
:type shooting_plays_only: bool
|
630
656
|
:param async_req: Whether to execute the request asynchronously.
|
631
657
|
:type async_req: bool, optional
|
632
658
|
:param _request_timeout: timeout setting for this request.
|
@@ -642,23 +668,25 @@ class PlaysApi:
|
|
642
668
|
if '_preload_content' in kwargs:
|
643
669
|
message = "Error! Please call the get_plays_by_team_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
|
644
670
|
raise ValueError(message)
|
645
|
-
return self.get_plays_by_team_with_http_info(season, team, **kwargs) # noqa: E501
|
671
|
+
return self.get_plays_by_team_with_http_info(season, team, shooting_plays_only, **kwargs) # noqa: E501
|
646
672
|
|
647
673
|
@validate_arguments
|
648
|
-
def get_plays_by_team_with_http_info(self, season : Annotated[StrictInt, Field(..., description="Required season filter")], team : Annotated[StrictStr, Field(..., description="Required team filter")], **kwargs) -> ApiResponse: # noqa: E501
|
674
|
+
def get_plays_by_team_with_http_info(self, season : Annotated[StrictInt, Field(..., description="Required season filter")], team : Annotated[StrictStr, Field(..., description="Required team filter")], shooting_plays_only : Annotated[Optional[StrictBool], Field(description="Optional filter to only return shooting plays")] = None, **kwargs) -> ApiResponse: # noqa: E501
|
649
675
|
"""get_plays_by_team # noqa: E501
|
650
676
|
|
651
677
|
Retrieve all plays for a given team and season # noqa: E501
|
652
678
|
This method makes a synchronous HTTP request by default. To make an
|
653
679
|
asynchronous HTTP request, please pass async_req=True
|
654
680
|
|
655
|
-
>>> thread = api.get_plays_by_team_with_http_info(season, team, async_req=True)
|
681
|
+
>>> thread = api.get_plays_by_team_with_http_info(season, team, shooting_plays_only, async_req=True)
|
656
682
|
>>> result = thread.get()
|
657
683
|
|
658
684
|
:param season: Required season filter (required)
|
659
685
|
:type season: int
|
660
686
|
:param team: Required team filter (required)
|
661
687
|
:type team: str
|
688
|
+
:param shooting_plays_only: Optional filter to only return shooting plays
|
689
|
+
:type shooting_plays_only: bool
|
662
690
|
:param async_req: Whether to execute the request asynchronously.
|
663
691
|
:type async_req: bool, optional
|
664
692
|
:param _preload_content: if False, the ApiResponse.data will
|
@@ -688,7 +716,8 @@ class PlaysApi:
|
|
688
716
|
|
689
717
|
_all_params = [
|
690
718
|
'season',
|
691
|
-
'team'
|
719
|
+
'team',
|
720
|
+
'shooting_plays_only'
|
692
721
|
]
|
693
722
|
_all_params.extend(
|
694
723
|
[
|
@@ -725,6 +754,9 @@ class PlaysApi:
|
|
725
754
|
if _params.get('team') is not None: # noqa: E501
|
726
755
|
_query_params.append(('team', _params['team']))
|
727
756
|
|
757
|
+
if _params.get('shooting_plays_only') is not None: # noqa: E501
|
758
|
+
_query_params.append(('shootingPlaysOnly', _params['shooting_plays_only']))
|
759
|
+
|
728
760
|
# process the header parameters
|
729
761
|
_header_params = dict(_params.get('_headers', {}))
|
730
762
|
# process the form parameters
|
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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
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.
|
8
|
+
The version of the OpenAPI document: 1.8.0
|
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.
|
81
|
+
self.user_agent = 'OpenAPI-Generator/1.8.0/python'
|
82
82
|
self.client_side_validation = configuration.client_side_validation
|
83
83
|
|
84
84
|
def __enter__(self):
|
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.8.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.8.0\n"\
|
380
|
+
"SDK Package Version: 1.8.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.8.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.8.0
|
10
10
|
Contact: admin@collegefootballdata.com
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
@@ -36,6 +36,8 @@ from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
|
|
36
36
|
from cbbd.models.play_type_info import PlayTypeInfo
|
37
37
|
from cbbd.models.player_season_stats import PlayerSeasonStats
|
38
38
|
from cbbd.models.season_type import SeasonType
|
39
|
+
from cbbd.models.shot_info import ShotInfo
|
40
|
+
from cbbd.models.shot_info_shooter import ShotInfoShooter
|
39
41
|
from cbbd.models.srs_info import SrsInfo
|
40
42
|
from cbbd.models.team_info import TeamInfo
|
41
43
|
from cbbd.models.team_roster import TeamRoster
|
@@ -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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
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.8.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.8.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.8.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.8.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.8.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.8.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|