Skip to content

Commit a341dca

Browse files
feat(stats): shot tracking endpoints
1 parent 2ae0c92 commit a341dca

File tree

160 files changed

+1769
-151
lines changed

Some content is hidden

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

160 files changed

+1769
-151
lines changed

.openapi-generator/FILES

+15
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ cbbd/models/play_info.py
5151
cbbd/models/play_info_on_floor_inner.py
5252
cbbd/models/play_info_participants_inner.py
5353
cbbd/models/play_type_info.py
54+
cbbd/models/player_season_shooting_stats.py
5455
cbbd/models/player_season_stats.py
5556
cbbd/models/player_season_stats_win_shares.py
5657
cbbd/models/player_subsititution.py
@@ -59,11 +60,15 @@ cbbd/models/poll_team_info.py
5960
cbbd/models/recruit.py
6061
cbbd/models/recruit_committed_to.py
6162
cbbd/models/recruit_hometown.py
63+
cbbd/models/season_shooting_stats.py
64+
cbbd/models/season_shooting_stats_attempts_breakdown.py
65+
cbbd/models/season_shooting_stats_dunks.py
6266
cbbd/models/season_type.py
6367
cbbd/models/shooting_stats.py
6468
cbbd/models/shot_info.py
6569
cbbd/models/shot_info_location.py
6670
cbbd/models/shot_info_shooter.py
71+
cbbd/models/shot_type_breakdown.py
6772
cbbd/models/srs_info.py
6873
cbbd/models/team_info.py
6974
cbbd/models/team_roster.py
@@ -113,6 +118,7 @@ docs/PlayInfo.md
113118
docs/PlayInfoOnFloorInner.md
114119
docs/PlayInfoParticipantsInner.md
115120
docs/PlayTypeInfo.md
121+
docs/PlayerSeasonShootingStats.md
116122
docs/PlayerSeasonStats.md
117123
docs/PlayerSeasonStatsWinShares.md
118124
docs/PlayerSubsititution.md
@@ -125,11 +131,15 @@ docs/Recruit.md
125131
docs/RecruitCommittedTo.md
126132
docs/RecruitHometown.md
127133
docs/RecruitingApi.md
134+
docs/SeasonShootingStats.md
135+
docs/SeasonShootingStatsAttemptsBreakdown.md
136+
docs/SeasonShootingStatsDunks.md
128137
docs/SeasonType.md
129138
docs/ShootingStats.md
130139
docs/ShotInfo.md
131140
docs/ShotInfoLocation.md
132141
docs/ShotInfoShooter.md
142+
docs/ShotTypeBreakdown.md
133143
docs/SrsInfo.md
134144
docs/StatsApi.md
135145
docs/TeamInfo.md
@@ -187,6 +197,7 @@ test/test_play_info.py
187197
test/test_play_info_on_floor_inner.py
188198
test/test_play_info_participants_inner.py
189199
test/test_play_type_info.py
200+
test/test_player_season_shooting_stats.py
190201
test/test_player_season_stats.py
191202
test/test_player_season_stats_win_shares.py
192203
test/test_player_subsititution.py
@@ -199,11 +210,15 @@ test/test_recruit.py
199210
test/test_recruit_committed_to.py
200211
test/test_recruit_hometown.py
201212
test/test_recruiting_api.py
213+
test/test_season_shooting_stats.py
214+
test/test_season_shooting_stats_attempts_breakdown.py
215+
test/test_season_shooting_stats_dunks.py
202216
test/test_season_type.py
203217
test/test_shooting_stats.py
204218
test/test_shot_info.py
205219
test/test_shot_info_location.py
206220
test/test_shot_info_shooter.py
221+
test/test_shot_type_breakdown.py
207222
test/test_srs_info.py
208223
test/test_stats_api.py
209224
test/test_team_info.py

README.md

+11-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.19.2
7-
- Package version: 1.19.2
6+
- API version: 1.20.0
7+
- Package version: 1.20.0
88
- Generator version: 7.12.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.19.2
19+
pip install cbbd@1.20.0
2020
```
21-
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.19.2`)
21+
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.20.0`)
2222

2323
Then import the package:
2424
```python
@@ -100,7 +100,9 @@ Class | Method | HTTP request | Description
100100
*RatingsApi* | [**get_adjusted_efficiency**](docs/RatingsApi.md#get_adjusted_efficiency) | **GET** /ratings/adjusted |
101101
*RatingsApi* | [**get_srs**](docs/RatingsApi.md#get_srs) | **GET** /ratings/srs |
102102
*RecruitingApi* | [**get_recruits**](docs/RecruitingApi.md#get_recruits) | **GET** /recruiting/players |
103+
*StatsApi* | [**get_player_season_shooting_stats**](docs/StatsApi.md#get_player_season_shooting_stats) | **GET** /stats/player/shooting/season |
103104
*StatsApi* | [**get_player_season_stats**](docs/StatsApi.md#get_player_season_stats) | **GET** /stats/player/season |
105+
*StatsApi* | [**get_team_season_shooting_stats**](docs/StatsApi.md#get_team_season_shooting_stats) | **GET** /stats/team/shooting/season |
104106
*StatsApi* | [**get_team_season_stats**](docs/StatsApi.md#get_team_season_stats) | **GET** /stats/team/season |
105107
*TeamsApi* | [**get_team_roster**](docs/TeamsApi.md#get_team_roster) | **GET** /teams/roster |
106108
*TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /teams |
@@ -137,6 +139,7 @@ Class | Method | HTTP request | Description
137139
- [PlayInfoOnFloorInner](docs/PlayInfoOnFloorInner.md)
138140
- [PlayInfoParticipantsInner](docs/PlayInfoParticipantsInner.md)
139141
- [PlayTypeInfo](docs/PlayTypeInfo.md)
142+
- [PlayerSeasonShootingStats](docs/PlayerSeasonShootingStats.md)
140143
- [PlayerSeasonStats](docs/PlayerSeasonStats.md)
141144
- [PlayerSeasonStatsWinShares](docs/PlayerSeasonStatsWinShares.md)
142145
- [PlayerSubsititution](docs/PlayerSubsititution.md)
@@ -145,11 +148,15 @@ Class | Method | HTTP request | Description
145148
- [Recruit](docs/Recruit.md)
146149
- [RecruitCommittedTo](docs/RecruitCommittedTo.md)
147150
- [RecruitHometown](docs/RecruitHometown.md)
151+
- [SeasonShootingStats](docs/SeasonShootingStats.md)
152+
- [SeasonShootingStatsAttemptsBreakdown](docs/SeasonShootingStatsAttemptsBreakdown.md)
153+
- [SeasonShootingStatsDunks](docs/SeasonShootingStatsDunks.md)
148154
- [SeasonType](docs/SeasonType.md)
149155
- [ShootingStats](docs/ShootingStats.md)
150156
- [ShotInfo](docs/ShotInfo.md)
151157
- [ShotInfoLocation](docs/ShotInfoLocation.md)
152158
- [ShotInfoShooter](docs/ShotInfoShooter.md)
159+
- [ShotTypeBreakdown](docs/ShotTypeBreakdown.md)
153160
- [SrsInfo](docs/SrsInfo.md)
154161
- [TeamInfo](docs/TeamInfo.md)
155162
- [TeamRoster](docs/TeamRoster.md)

cbbd/__init__.py

+7-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.19.2
10+
The version of the OpenAPI document: 1.20.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.19.2"
18+
__version__ = "1.20.0"
1919

2020
# import apis into sdk package
2121
from cbbd.api.conferences_api import ConferencesApi
@@ -71,6 +71,7 @@
7171
from cbbd.models.play_info_on_floor_inner import PlayInfoOnFloorInner
7272
from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
7373
from cbbd.models.play_type_info import PlayTypeInfo
74+
from cbbd.models.player_season_shooting_stats import PlayerSeasonShootingStats
7475
from cbbd.models.player_season_stats import PlayerSeasonStats
7576
from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShares
7677
from cbbd.models.player_subsititution import PlayerSubsititution
@@ -79,11 +80,15 @@
7980
from cbbd.models.recruit import Recruit
8081
from cbbd.models.recruit_committed_to import RecruitCommittedTo
8182
from cbbd.models.recruit_hometown import RecruitHometown
83+
from cbbd.models.season_shooting_stats import SeasonShootingStats
84+
from cbbd.models.season_shooting_stats_attempts_breakdown import SeasonShootingStatsAttemptsBreakdown
85+
from cbbd.models.season_shooting_stats_dunks import SeasonShootingStatsDunks
8286
from cbbd.models.season_type import SeasonType
8387
from cbbd.models.shooting_stats import ShootingStats
8488
from cbbd.models.shot_info import ShotInfo
8589
from cbbd.models.shot_info_location import ShotInfoLocation
8690
from cbbd.models.shot_info_shooter import ShotInfoShooter
91+
from cbbd.models.shot_type_breakdown import ShotTypeBreakdown
8792
from cbbd.models.srs_info import SrsInfo
8893
from cbbd.models.team_info import TeamInfo
8994
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.19.2
8+
The version of the OpenAPI document: 1.20.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/draft_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.19.2
8+
The version of the OpenAPI document: 1.20.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.19.2
8+
The version of the OpenAPI document: 1.20.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.19.2
8+
The version of the OpenAPI document: 1.20.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/lineups_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.19.2
8+
The version of the OpenAPI document: 1.20.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/plays_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.19.2
8+
The version of the OpenAPI document: 1.20.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/rankings_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.19.2
8+
The version of the OpenAPI document: 1.20.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

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.19.2
8+
The version of the OpenAPI document: 1.20.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

cbbd/api/recruiting_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.19.2
8+
The version of the OpenAPI document: 1.20.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)