Skip to content

Commit 5318506

Browse files
feat(draft): added nba draft endpoints
1 parent 6b71866 commit 5318506

File tree

123 files changed

+1529
-117
lines changed

Some content is hidden

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

123 files changed

+1529
-117
lines changed

.openapi-generator/FILES

+12
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ README.md
77
cbbd/__init__.py
88
cbbd/api/__init__.py
99
cbbd/api/conferences_api.py
10+
cbbd/api/draft_api.py
1011
cbbd/api/games_api.py
1112
cbbd/api/lines_api.py
1213
cbbd/api/plays_api.py
@@ -25,6 +26,9 @@ cbbd/models/adjusted_efficiency_info_rankings.py
2526
cbbd/models/conference_history.py
2627
cbbd/models/conference_history_teams_inner.py
2728
cbbd/models/conference_info.py
29+
cbbd/models/draft_pick.py
30+
cbbd/models/draft_position.py
31+
cbbd/models/draft_team.py
2832
cbbd/models/game_box_score_players.py
2933
cbbd/models/game_box_score_players_players_inner.py
3034
cbbd/models/game_box_score_team.py
@@ -69,6 +73,10 @@ docs/ConferenceHistory.md
6973
docs/ConferenceHistoryTeamsInner.md
7074
docs/ConferenceInfo.md
7175
docs/ConferencesApi.md
76+
docs/DraftApi.md
77+
docs/DraftPick.md
78+
docs/DraftPosition.md
79+
docs/DraftTeam.md
7280
docs/GameBoxScorePlayers.md
7381
docs/GameBoxScorePlayersPlayersInner.md
7482
docs/GameBoxScoreTeam.md
@@ -126,6 +134,10 @@ test/test_conference_history.py
126134
test/test_conference_history_teams_inner.py
127135
test/test_conference_info.py
128136
test/test_conferences_api.py
137+
test/test_draft_api.py
138+
test/test_draft_pick.py
139+
test/test_draft_position.py
140+
test/test_draft_team.py
129141
test/test_game_box_score_players.py
130142
test/test_game_box_score_players_players_inner.py
131143
test/test_game_box_score_team.py

README.md

+10-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.12.1
7-
- Package version: 1.12.1
6+
- API version: 1.13.0
7+
- Package version: 1.13.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.12.1
19+
pip install cbbd@1.13.0
2020
```
21-
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.12.1`)
21+
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.13.0`)
2222

2323
Then import the package:
2424
```python
@@ -76,6 +76,9 @@ Class | Method | HTTP request | Description
7676
------------ | ------------- | ------------- | -------------
7777
*ConferencesApi* | [**get_conference_history**](docs/ConferencesApi.md#get_conference_history) | **GET** /conferences/history |
7878
*ConferencesApi* | [**get_conferences**](docs/ConferencesApi.md#get_conferences) | **GET** /conferences |
79+
*DraftApi* | [**get_draft_picks**](docs/DraftApi.md#get_draft_picks) | **GET** /draft/picks |
80+
*DraftApi* | [**get_draft_positions**](docs/DraftApi.md#get_draft_positions) | **GET** /draft/positions |
81+
*DraftApi* | [**get_draft_teams**](docs/DraftApi.md#get_draft_teams) | **GET** /draft/teams |
7982
*GamesApi* | [**get_broadcasts**](docs/GamesApi.md#get_broadcasts) | **GET** /games/media |
8083
*GamesApi* | [**get_game_players**](docs/GamesApi.md#get_game_players) | **GET** /games/players |
8184
*GamesApi* | [**get_game_teams**](docs/GamesApi.md#get_game_teams) | **GET** /games/teams |
@@ -104,6 +107,9 @@ Class | Method | HTTP request | Description
104107
- [ConferenceHistory](docs/ConferenceHistory.md)
105108
- [ConferenceHistoryTeamsInner](docs/ConferenceHistoryTeamsInner.md)
106109
- [ConferenceInfo](docs/ConferenceInfo.md)
110+
- [DraftPick](docs/DraftPick.md)
111+
- [DraftPosition](docs/DraftPosition.md)
112+
- [DraftTeam](docs/DraftTeam.md)
107113
- [GameBoxScorePlayers](docs/GameBoxScorePlayers.md)
108114
- [GameBoxScorePlayersPlayersInner](docs/GameBoxScorePlayersPlayersInner.md)
109115
- [GameBoxScoreTeam](docs/GameBoxScoreTeam.md)

cbbd/__init__.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@
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.12.1
10+
The version of the OpenAPI document: 1.13.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.12.1"
18+
__version__ = "1.13.0"
1919

2020
# import apis into sdk package
2121
from cbbd.api.conferences_api import ConferencesApi
22+
from cbbd.api.draft_api import DraftApi
2223
from cbbd.api.games_api import GamesApi
2324
from cbbd.api.lines_api import LinesApi
2425
from cbbd.api.plays_api import PlaysApi
@@ -45,6 +46,9 @@
4546
from cbbd.models.conference_history import ConferenceHistory
4647
from cbbd.models.conference_history_teams_inner import ConferenceHistoryTeamsInner
4748
from cbbd.models.conference_info import ConferenceInfo
49+
from cbbd.models.draft_pick import DraftPick
50+
from cbbd.models.draft_position import DraftPosition
51+
from cbbd.models.draft_team import DraftTeam
4852
from cbbd.models.game_box_score_players import GameBoxScorePlayers
4953
from cbbd.models.game_box_score_players_players_inner import GameBoxScorePlayersPlayersInner
5054
from cbbd.models.game_box_score_team import GameBoxScoreTeam

cbbd/api/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# import apis into api package
44
from cbbd.api.conferences_api import ConferencesApi
5+
from cbbd.api.draft_api import DraftApi
56
from cbbd.api.games_api import GamesApi
67
from cbbd.api.lines_api import LinesApi
78
from cbbd.api.plays_api import PlaysApi

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

0 commit comments

Comments
 (0)