Skip to content

Commit b023738

Browse files
feat: shot info on play data
1 parent c0fc03a commit b023738

File tree

104 files changed

+589
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+589
-140
lines changed

.openapi-generator/FILES

+6
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ cbbd/models/play_info_participants_inner.py
4040
cbbd/models/play_type_info.py
4141
cbbd/models/player_season_stats.py
4242
cbbd/models/season_type.py
43+
cbbd/models/shot_info.py
44+
cbbd/models/shot_info_shooter.py
4345
cbbd/models/srs_info.py
4446
cbbd/models/team_info.py
4547
cbbd/models/team_roster.py
@@ -82,6 +84,8 @@ docs/PlayerSeasonStats.md
8284
docs/PlaysApi.md
8385
docs/RatingsApi.md
8486
docs/SeasonType.md
87+
docs/ShotInfo.md
88+
docs/ShotInfoShooter.md
8589
docs/SrsInfo.md
8690
docs/StatsApi.md
8791
docs/TeamInfo.md
@@ -132,6 +136,8 @@ test/test_player_season_stats.py
132136
test/test_plays_api.py
133137
test/test_ratings_api.py
134138
test/test_season_type.py
139+
test/test_shot_info.py
140+
test/test_shot_info_shooter.py
135141
test/test_srs_info.py
136142
test/test_stats_api.py
137143
test/test_team_info.py

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ This API is in limited Beta for Patreon subscribers. It may have bugs and is sub
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: 1.7.3
7-
- Package version: 1.7.3
6+
- API version: 1.8.0
7+
- Package version: 1.8.0
88
- Generator version: 7.11.0
99
- Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
1010

@@ -16,9 +16,9 @@ Python 3.7+
1616
### pip install
1717

1818
```sh
19-
pip install cbbd@1.7.3
19+
pip install cbbd@1.8.0
2020
```
21-
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.7.3`)
21+
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.8.0`)
2222

2323
Then import the package:
2424
```python
@@ -119,6 +119,8 @@ Class | Method | HTTP request | Description
119119
- [PlayTypeInfo](docs/PlayTypeInfo.md)
120120
- [PlayerSeasonStats](docs/PlayerSeasonStats.md)
121121
- [SeasonType](docs/SeasonType.md)
122+
- [ShotInfo](docs/ShotInfo.md)
123+
- [ShotInfoShooter](docs/ShotInfoShooter.md)
122124
- [SrsInfo](docs/SrsInfo.md)
123125
- [TeamInfo](docs/TeamInfo.md)
124126
- [TeamRoster](docs/TeamRoster.md)

cbbd/__init__.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
88
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.
99
10-
The version of the OpenAPI document: 1.7.3
10+
The version of the OpenAPI document: 1.8.0
1111
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
1414
Do not edit the class manually.
1515
""" # noqa: E501
1616

1717

18-
__version__ = "1.7.3"
18+
__version__ = "1.8.0"
1919

2020
# import apis into sdk package
2121
from cbbd.api.conferences_api import ConferencesApi
@@ -60,6 +60,8 @@
6060
from cbbd.models.play_type_info import PlayTypeInfo
6161
from cbbd.models.player_season_stats import PlayerSeasonStats
6262
from cbbd.models.season_type import SeasonType
63+
from cbbd.models.shot_info import ShotInfo
64+
from cbbd.models.shot_info_shooter import ShotInfoShooter
6365
from cbbd.models.srs_info import SrsInfo
6466
from cbbd.models.team_info import TeamInfo
6567
from cbbd.models.team_roster import TeamRoster

cbbd/api/conferences_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/games_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/lines_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/plays_api.py

+59-27
Large diffs are not rendered by default.

cbbd/api/ratings_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/stats_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/teams_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/venues_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7878
self.default_headers[header_name] = header_value
7979
self.cookie = cookie
8080
# Set default User-Agent.
81-
self.user_agent = 'OpenAPI-Generator/1.7.3/python'
81+
self.user_agent = 'OpenAPI-Generator/1.8.0/python'
8282
self.client_side_validation = configuration.client_side_validation
8383

8484
def __enter__(self):

cbbd/configuration.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -376,8 +376,8 @@ def to_debug_report(self):
376376
return "Python SDK Debug Report:\n"\
377377
"OS: {env}\n"\
378378
"Python Version: {pyversion}\n"\
379-
"Version of the API: 1.7.3\n"\
380-
"SDK Package Version: 1.7.3".\
379+
"Version of the API: 1.8.0\n"\
380+
"SDK Package Version: 1.8.0".\
381381
format(env=sys.platform, pyversion=sys.version)
382382

383383
def get_host_settings(self):

cbbd/exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
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.
88
9-
The version of the OpenAPI document: 1.7.3
9+
The version of the OpenAPI document: 1.8.0
1010
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
@@ -36,6 +36,8 @@
3636
from cbbd.models.play_type_info import PlayTypeInfo
3737
from cbbd.models.player_season_stats import PlayerSeasonStats
3838
from cbbd.models.season_type import SeasonType
39+
from cbbd.models.shot_info import ShotInfo
40+
from cbbd.models.shot_info_shooter import ShotInfoShooter
3941
from cbbd.models.srs_info import SrsInfo
4042
from cbbd.models.team_info import TeamInfo
4143
from cbbd.models.team_roster import TeamRoster

cbbd/models/adjusted_efficiency_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/conference_history.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/conference_history_teams_inner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/conference_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_box_score_players.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_box_score_players_players_inner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_box_score_team.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_box_score_team_stats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_box_score_team_stats_points.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_line_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_lines.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_media_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_media_info_broadcasts_inner.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/game_status.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/models/line_provider_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
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.
77
8-
The version of the OpenAPI document: 1.7.3
8+
The version of the OpenAPI document: 1.8.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)