cbbd 1.11.1__tar.gz → 1.12.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {cbbd-1.11.1 → cbbd-1.12.1}/PKG-INFO +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/README.md +6 -4
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/__init__.py +4 -2
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/conferences_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/games_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/lines_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/plays_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/rankings_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/ratings_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/stats_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/teams_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/venues_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api_client.py +2 -2
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/configuration.py +3 -3
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/exceptions.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/__init__.py +3 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/adjusted_efficiency_info.py +9 -3
- cbbd-1.12.1/cbbd/models/adjusted_efficiency_info_rankings.py +76 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/conference_history.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/conference_history_teams_inner.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/conference_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_players.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_players_players_inner.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_team.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_team_stats.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_team_stats_points.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_line_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_lines.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_media_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_media_info_broadcasts_inner.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_status.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/line_provider_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/play_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/play_info_participants_inner.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/play_type_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/player_season_stats.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/player_season_stats_win_shares.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/poll_team_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/season_type.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/shot_info.py +14 -3
- cbbd-1.12.1/cbbd/models/shot_info_location.py +74 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/shot_info_shooter.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/srs_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_roster.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_roster_player.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_roster_player_hometown.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_stats.py +6 -2
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_field_goals.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_fouls.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_four_factors.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_points.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_rebounds.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_turnovers.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/venue_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/rest.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/PKG-INFO +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/SOURCES.txt +4 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/pyproject.toml +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/setup.py +2 -2
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_adjusted_efficiency_info.py +10 -2
- cbbd-1.12.1/test/test_adjusted_efficiency_info_rankings.py +58 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_conference_history.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_conference_history_teams_inner.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_conference_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_conferences_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_players.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_players_players_inner.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_team.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_team_stats.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_team_stats_points.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_line_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_lines.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_media_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_media_info_broadcasts_inner.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_status.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_games_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_line_provider_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_lines_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_play_info.py +9 -3
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_play_info_participants_inner.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_play_type_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_player_season_stats.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_player_season_stats_win_shares.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_plays_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_poll_team_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_rankings_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_ratings_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_season_type.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_shot_info.py +8 -2
- cbbd-1.12.1/test/test_shot_info_location.py +56 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_shot_info_shooter.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_srs_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_stats_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_roster.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_roster_player.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_roster_player_hometown.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_stats.py +5 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_field_goals.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_fouls.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_four_factors.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_points.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_rebounds.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_turnovers.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_teams_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_venue_info.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/test/test_venues_api.py +1 -1
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/__init__.py +0 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api_response.py +0 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/py.typed +0 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/dependency_links.txt +0 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/requires.txt +0 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/top_level.txt +0 -0
- {cbbd-1.11.1 → cbbd-1.12.1}/setup.cfg +0 -0
@@ -3,8 +3,8 @@ This API is in limited Beta for Patreon subscribers. It may have bugs and is sub
|
|
3
3
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
5
5
|
|
6
|
-
- API version: 1.
|
7
|
-
- Package version: 1.
|
6
|
+
- API version: 1.12.1
|
7
|
+
- Package version: 1.12.1
|
8
8
|
- Generator version: 7.11.0
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
|
10
10
|
|
@@ -16,9 +16,9 @@ Python 3.7+
|
|
16
16
|
### pip install
|
17
17
|
|
18
18
|
```sh
|
19
|
-
pip install cbbd@1.
|
19
|
+
pip install cbbd@1.12.1
|
20
20
|
```
|
21
|
-
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.
|
21
|
+
(you may need to run `pip` with root permission: `sudo pip install cbbd@1.12.1`)
|
22
22
|
|
23
23
|
Then import the package:
|
24
24
|
```python
|
@@ -100,6 +100,7 @@ Class | Method | HTTP request | Description
|
|
100
100
|
## Documentation For Models
|
101
101
|
|
102
102
|
- [AdjustedEfficiencyInfo](docs/AdjustedEfficiencyInfo.md)
|
103
|
+
- [AdjustedEfficiencyInfoRankings](docs/AdjustedEfficiencyInfoRankings.md)
|
103
104
|
- [ConferenceHistory](docs/ConferenceHistory.md)
|
104
105
|
- [ConferenceHistoryTeamsInner](docs/ConferenceHistoryTeamsInner.md)
|
105
106
|
- [ConferenceInfo](docs/ConferenceInfo.md)
|
@@ -123,6 +124,7 @@ Class | Method | HTTP request | Description
|
|
123
124
|
- [PollTeamInfo](docs/PollTeamInfo.md)
|
124
125
|
- [SeasonType](docs/SeasonType.md)
|
125
126
|
- [ShotInfo](docs/ShotInfo.md)
|
127
|
+
- [ShotInfoLocation](docs/ShotInfoLocation.md)
|
126
128
|
- [ShotInfoShooter](docs/ShotInfoShooter.md)
|
127
129
|
- [SrsInfo](docs/SrsInfo.md)
|
128
130
|
- [TeamInfo](docs/TeamInfo.md)
|
@@ -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.12.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
|
+
__version__ = "1.12.1"
|
19
19
|
|
20
20
|
# import apis into sdk package
|
21
21
|
from cbbd.api.conferences_api import ConferencesApi
|
@@ -41,6 +41,7 @@ from cbbd.exceptions import ApiException
|
|
41
41
|
|
42
42
|
# import models into sdk package
|
43
43
|
from cbbd.models.adjusted_efficiency_info import AdjustedEfficiencyInfo
|
44
|
+
from cbbd.models.adjusted_efficiency_info_rankings import AdjustedEfficiencyInfoRankings
|
44
45
|
from cbbd.models.conference_history import ConferenceHistory
|
45
46
|
from cbbd.models.conference_history_teams_inner import ConferenceHistoryTeamsInner
|
46
47
|
from cbbd.models.conference_info import ConferenceInfo
|
@@ -64,6 +65,7 @@ from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShare
|
|
64
65
|
from cbbd.models.poll_team_info import PollTeamInfo
|
65
66
|
from cbbd.models.season_type import SeasonType
|
66
67
|
from cbbd.models.shot_info import ShotInfo
|
68
|
+
from cbbd.models.shot_info_location import ShotInfoLocation
|
67
69
|
from cbbd.models.shot_info_shooter import ShotInfoShooter
|
68
70
|
from cbbd.models.srs_info import SrsInfo
|
69
71
|
from cbbd.models.team_info import TeamInfo
|
@@ -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.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
81
|
+
self.user_agent = 'OpenAPI-Generator/1.12.1/python'
|
82
82
|
self.client_side_validation = configuration.client_side_validation
|
83
83
|
|
84
84
|
def __enter__(self):
|
@@ -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.12.1
|
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.12.1\n"\
|
380
|
+
"SDK Package Version: 1.12.1".\
|
381
381
|
format(env=sys.platform, pyversion=sys.version)
|
382
382
|
|
383
383
|
def get_host_settings(self):
|
@@ -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.12.1
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -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.12.1
|
10
10
|
Contact: admin@collegefootballdata.com
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
@@ -16,6 +16,7 @@
|
|
16
16
|
|
17
17
|
# import models into model package
|
18
18
|
from cbbd.models.adjusted_efficiency_info import AdjustedEfficiencyInfo
|
19
|
+
from cbbd.models.adjusted_efficiency_info_rankings import AdjustedEfficiencyInfoRankings
|
19
20
|
from cbbd.models.conference_history import ConferenceHistory
|
20
21
|
from cbbd.models.conference_history_teams_inner import ConferenceHistoryTeamsInner
|
21
22
|
from cbbd.models.conference_info import ConferenceInfo
|
@@ -39,6 +40,7 @@ from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShare
|
|
39
40
|
from cbbd.models.poll_team_info import PollTeamInfo
|
40
41
|
from cbbd.models.season_type import SeasonType
|
41
42
|
from cbbd.models.shot_info import ShotInfo
|
43
|
+
from cbbd.models.shot_info_location import ShotInfoLocation
|
42
44
|
from cbbd.models.shot_info_shooter import ShotInfoShooter
|
43
45
|
from cbbd.models.srs_info import SrsInfo
|
44
46
|
from cbbd.models.team_info import TeamInfo
|
@@ -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.12.1
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -21,6 +21,7 @@ import json
|
|
21
21
|
|
22
22
|
from typing import Union
|
23
23
|
from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr
|
24
|
+
from cbbd.models.adjusted_efficiency_info_rankings import AdjustedEfficiencyInfoRankings
|
24
25
|
|
25
26
|
class AdjustedEfficiencyInfo(BaseModel):
|
26
27
|
"""
|
@@ -33,7 +34,8 @@ class AdjustedEfficiencyInfo(BaseModel):
|
|
33
34
|
offensive_rating: Union[StrictFloat, StrictInt] = Field(default=..., alias="offensiveRating")
|
34
35
|
defensive_rating: Union[StrictFloat, StrictInt] = Field(default=..., alias="defensiveRating")
|
35
36
|
net_rating: Union[StrictFloat, StrictInt] = Field(default=..., alias="netRating")
|
36
|
-
|
37
|
+
rankings: AdjustedEfficiencyInfoRankings = Field(...)
|
38
|
+
__properties = ["season", "teamId", "team", "conference", "offensiveRating", "defensiveRating", "netRating", "rankings"]
|
37
39
|
|
38
40
|
class Config:
|
39
41
|
"""Pydantic configuration"""
|
@@ -59,6 +61,9 @@ class AdjustedEfficiencyInfo(BaseModel):
|
|
59
61
|
exclude={
|
60
62
|
},
|
61
63
|
exclude_none=True)
|
64
|
+
# override the default output from pydantic by calling `to_dict()` of rankings
|
65
|
+
if self.rankings:
|
66
|
+
_dict['rankings'] = self.rankings.to_dict()
|
62
67
|
return _dict
|
63
68
|
|
64
69
|
@classmethod
|
@@ -77,7 +82,8 @@ class AdjustedEfficiencyInfo(BaseModel):
|
|
77
82
|
"conference": obj.get("conference"),
|
78
83
|
"offensive_rating": obj.get("offensiveRating"),
|
79
84
|
"defensive_rating": obj.get("defensiveRating"),
|
80
|
-
"net_rating": obj.get("netRating")
|
85
|
+
"net_rating": obj.get("netRating"),
|
86
|
+
"rankings": AdjustedEfficiencyInfoRankings.from_dict(obj.get("rankings")) if obj.get("rankings") is not None else None
|
81
87
|
})
|
82
88
|
return _obj
|
83
89
|
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
College Basketball Data API
|
5
|
+
|
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
|
+
|
8
|
+
The version of the OpenAPI document: 1.12.1
|
9
|
+
Contact: admin@collegefootballdata.com
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
|
+
|
12
|
+
Do not edit the class manually.
|
13
|
+
""" # noqa: E501
|
14
|
+
|
15
|
+
|
16
|
+
from __future__ import annotations
|
17
|
+
import pprint
|
18
|
+
import re # noqa: F401
|
19
|
+
import json
|
20
|
+
|
21
|
+
|
22
|
+
from typing import Union
|
23
|
+
from pydantic import BaseModel, Field, StrictFloat, StrictInt
|
24
|
+
|
25
|
+
class AdjustedEfficiencyInfoRankings(BaseModel):
|
26
|
+
"""
|
27
|
+
AdjustedEfficiencyInfoRankings
|
28
|
+
"""
|
29
|
+
net: Union[StrictFloat, StrictInt] = Field(...)
|
30
|
+
defense: Union[StrictFloat, StrictInt] = Field(...)
|
31
|
+
offense: Union[StrictFloat, StrictInt] = Field(...)
|
32
|
+
__properties = ["net", "defense", "offense"]
|
33
|
+
|
34
|
+
class Config:
|
35
|
+
"""Pydantic configuration"""
|
36
|
+
allow_population_by_field_name = True
|
37
|
+
validate_assignment = True
|
38
|
+
|
39
|
+
def to_str(self) -> str:
|
40
|
+
"""Returns the string representation of the model using alias"""
|
41
|
+
return pprint.pformat(self.dict(by_alias=True))
|
42
|
+
|
43
|
+
def to_json(self) -> str:
|
44
|
+
"""Returns the JSON representation of the model using alias"""
|
45
|
+
return json.dumps(self.to_dict())
|
46
|
+
|
47
|
+
@classmethod
|
48
|
+
def from_json(cls, json_str: str) -> AdjustedEfficiencyInfoRankings:
|
49
|
+
"""Create an instance of AdjustedEfficiencyInfoRankings from a JSON string"""
|
50
|
+
return cls.from_dict(json.loads(json_str))
|
51
|
+
|
52
|
+
def to_dict(self):
|
53
|
+
"""Returns the dictionary representation of the model using alias"""
|
54
|
+
_dict = self.dict(by_alias=True,
|
55
|
+
exclude={
|
56
|
+
},
|
57
|
+
exclude_none=True)
|
58
|
+
return _dict
|
59
|
+
|
60
|
+
@classmethod
|
61
|
+
def from_dict(cls, obj: dict) -> AdjustedEfficiencyInfoRankings:
|
62
|
+
"""Create an instance of AdjustedEfficiencyInfoRankings from a dict"""
|
63
|
+
if obj is None:
|
64
|
+
return None
|
65
|
+
|
66
|
+
if not isinstance(obj, dict):
|
67
|
+
return AdjustedEfficiencyInfoRankings.parse_obj(obj)
|
68
|
+
|
69
|
+
_obj = AdjustedEfficiencyInfoRankings.parse_obj({
|
70
|
+
"net": obj.get("net"),
|
71
|
+
"defense": obj.get("defense"),
|
72
|
+
"offense": obj.get("offense")
|
73
|
+
})
|
74
|
+
return _obj
|
75
|
+
|
76
|
+
|
@@ -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.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.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.
|
8
|
+
The version of the OpenAPI document: 1.12.1
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|