cbbd 1.11.0__tar.gz → 1.12.0__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {cbbd-1.11.0 → cbbd-1.12.0}/PKG-INFO +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/README.md +5 -4
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/__init__.py +3 -2
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/conferences_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/games_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/lines_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/plays_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/rankings_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/ratings_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/stats_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/teams_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/venues_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api_client.py +2 -2
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/configuration.py +3 -3
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/exceptions.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/__init__.py +2 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/adjusted_efficiency_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/conference_history.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/conference_history_teams_inner.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/conference_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_box_score_players.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_box_score_players_players_inner.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_box_score_team.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_box_score_team_stats.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_box_score_team_stats_points.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_line_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_lines.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_media_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_media_info_broadcasts_inner.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/game_status.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/line_provider_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/play_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/play_info_participants_inner.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/play_type_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/player_season_stats.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/player_season_stats_win_shares.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/poll_team_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/season_type.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/shot_info.py +14 -3
- cbbd-1.12.0/cbbd/models/shot_info_location.py +74 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/shot_info_shooter.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/srs_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_roster.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_roster_player.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_roster_player_hometown.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_season_stats.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_season_unit_stats.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_season_unit_stats_field_goals.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_season_unit_stats_fouls.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_season_unit_stats_four_factors.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_season_unit_stats_points.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_season_unit_stats_rebounds.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/team_season_unit_stats_turnovers.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/models/venue_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/rest.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd.egg-info/PKG-INFO +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd.egg-info/SOURCES.txt +2 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/pyproject.toml +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/setup.py +2 -2
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_adjusted_efficiency_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_conference_history.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_conference_history_teams_inner.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_conference_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_conferences_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_box_score_players.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_box_score_players_players_inner.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_box_score_team.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_box_score_team_stats.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_box_score_team_stats_points.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_line_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_lines.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_media_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_media_info_broadcasts_inner.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_game_status.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_games_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_line_provider_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_lines_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_play_info.py +9 -3
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_play_info_participants_inner.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_play_type_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_player_season_stats.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_player_season_stats_win_shares.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_plays_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_poll_team_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_rankings_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_ratings_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_season_type.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_shot_info.py +8 -2
- cbbd-1.12.0/test/test_shot_info_location.py +56 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_shot_info_shooter.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_srs_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_stats_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_roster.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_roster_player.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_roster_player_hometown.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_season_stats.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_season_unit_stats.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_season_unit_stats_field_goals.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_season_unit_stats_fouls.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_season_unit_stats_four_factors.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_season_unit_stats_points.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_season_unit_stats_rebounds.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_team_season_unit_stats_turnovers.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_teams_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_venue_info.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/test/test_venues_api.py +1 -1
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api/__init__.py +0 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/api_response.py +0 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd/py.typed +0 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd.egg-info/dependency_links.txt +0 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd.egg-info/requires.txt +0 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/cbbd.egg-info/top_level.txt +0 -0
- {cbbd-1.11.0 → cbbd-1.12.0}/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.0
|
7
|
+
- Package version: 1.12.0
|
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.0
|
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.0`)
|
22
22
|
|
23
23
|
Then import the package:
|
24
24
|
```python
|
@@ -123,6 +123,7 @@ Class | Method | HTTP request | Description
|
|
123
123
|
- [PollTeamInfo](docs/PollTeamInfo.md)
|
124
124
|
- [SeasonType](docs/SeasonType.md)
|
125
125
|
- [ShotInfo](docs/ShotInfo.md)
|
126
|
+
- [ShotInfoLocation](docs/ShotInfoLocation.md)
|
126
127
|
- [ShotInfoShooter](docs/ShotInfoShooter.md)
|
127
128
|
- [SrsInfo](docs/SrsInfo.md)
|
128
129
|
- [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.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.12.0"
|
19
19
|
|
20
20
|
# import apis into sdk package
|
21
21
|
from cbbd.api.conferences_api import ConferencesApi
|
@@ -64,6 +64,7 @@ from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShare
|
|
64
64
|
from cbbd.models.poll_team_info import PollTeamInfo
|
65
65
|
from cbbd.models.season_type import SeasonType
|
66
66
|
from cbbd.models.shot_info import ShotInfo
|
67
|
+
from cbbd.models.shot_info_location import ShotInfoLocation
|
67
68
|
from cbbd.models.shot_info_shooter import ShotInfoShooter
|
68
69
|
from cbbd.models.srs_info import SrsInfo
|
69
70
|
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.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.0/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.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.12.0\n"\
|
380
|
+
"SDK Package Version: 1.12.0".\
|
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.0
|
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.0
|
10
10
|
Contact: admin@collegefootballdata.com
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
@@ -39,6 +39,7 @@ from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShare
|
|
39
39
|
from cbbd.models.poll_team_info import PollTeamInfo
|
40
40
|
from cbbd.models.season_type import SeasonType
|
41
41
|
from cbbd.models.shot_info import ShotInfo
|
42
|
+
from cbbd.models.shot_info_location import ShotInfoLocation
|
42
43
|
from cbbd.models.shot_info_shooter import ShotInfoShooter
|
43
44
|
from cbbd.models.srs_info import SrsInfo
|
44
45
|
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.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.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.12.0
|
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 Optional
|
23
23
|
from pydantic import BaseModel, Field, StrictBool, StrictStr, validator
|
24
|
+
from cbbd.models.shot_info_location import ShotInfoLocation
|
24
25
|
from cbbd.models.shot_info_shooter import ShotInfoShooter
|
25
26
|
|
26
27
|
class ShotInfo(BaseModel):
|
@@ -32,7 +33,8 @@ class ShotInfo(BaseModel):
|
|
32
33
|
range: StrictStr = Field(...)
|
33
34
|
assisted: StrictBool = Field(...)
|
34
35
|
assisted_by: Optional[ShotInfoShooter] = Field(default=..., alias="assistedBy")
|
35
|
-
|
36
|
+
location: Optional[ShotInfoLocation] = Field(...)
|
37
|
+
__properties = ["shooter", "made", "range", "assisted", "assistedBy", "location"]
|
36
38
|
|
37
39
|
@validator('range')
|
38
40
|
def range_validate_enum(cls, value):
|
@@ -71,6 +73,9 @@ class ShotInfo(BaseModel):
|
|
71
73
|
# override the default output from pydantic by calling `to_dict()` of assisted_by
|
72
74
|
if self.assisted_by:
|
73
75
|
_dict['assistedBy'] = self.assisted_by.to_dict()
|
76
|
+
# override the default output from pydantic by calling `to_dict()` of location
|
77
|
+
if self.location:
|
78
|
+
_dict['location'] = self.location.to_dict()
|
74
79
|
# set to None if shooter (nullable) is None
|
75
80
|
# and __fields_set__ contains the field
|
76
81
|
if self.shooter is None and "shooter" in self.__fields_set__:
|
@@ -81,6 +86,11 @@ class ShotInfo(BaseModel):
|
|
81
86
|
if self.assisted_by is None and "assisted_by" in self.__fields_set__:
|
82
87
|
_dict['assistedBy'] = None
|
83
88
|
|
89
|
+
# set to None if location (nullable) is None
|
90
|
+
# and __fields_set__ contains the field
|
91
|
+
if self.location is None and "location" in self.__fields_set__:
|
92
|
+
_dict['location'] = None
|
93
|
+
|
84
94
|
return _dict
|
85
95
|
|
86
96
|
@classmethod
|
@@ -97,7 +107,8 @@ class ShotInfo(BaseModel):
|
|
97
107
|
"made": obj.get("made"),
|
98
108
|
"range": obj.get("range"),
|
99
109
|
"assisted": obj.get("assisted"),
|
100
|
-
"assisted_by": ShotInfoShooter.from_dict(obj.get("assistedBy")) if obj.get("assistedBy") is not None else None
|
110
|
+
"assisted_by": ShotInfoShooter.from_dict(obj.get("assistedBy")) if obj.get("assistedBy") is not None else None,
|
111
|
+
"location": ShotInfoLocation.from_dict(obj.get("location")) if obj.get("location") is not None else None
|
101
112
|
})
|
102
113
|
return _obj
|
103
114
|
|
@@ -0,0 +1,74 @@
|
|
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.0
|
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 ShotInfoLocation(BaseModel):
|
26
|
+
"""
|
27
|
+
ShotInfoLocation
|
28
|
+
"""
|
29
|
+
y: Union[StrictFloat, StrictInt] = Field(...)
|
30
|
+
x: Union[StrictFloat, StrictInt] = Field(...)
|
31
|
+
__properties = ["y", "x"]
|
32
|
+
|
33
|
+
class Config:
|
34
|
+
"""Pydantic configuration"""
|
35
|
+
allow_population_by_field_name = True
|
36
|
+
validate_assignment = True
|
37
|
+
|
38
|
+
def to_str(self) -> str:
|
39
|
+
"""Returns the string representation of the model using alias"""
|
40
|
+
return pprint.pformat(self.dict(by_alias=True))
|
41
|
+
|
42
|
+
def to_json(self) -> str:
|
43
|
+
"""Returns the JSON representation of the model using alias"""
|
44
|
+
return json.dumps(self.to_dict())
|
45
|
+
|
46
|
+
@classmethod
|
47
|
+
def from_json(cls, json_str: str) -> ShotInfoLocation:
|
48
|
+
"""Create an instance of ShotInfoLocation from a JSON string"""
|
49
|
+
return cls.from_dict(json.loads(json_str))
|
50
|
+
|
51
|
+
def to_dict(self):
|
52
|
+
"""Returns the dictionary representation of the model using alias"""
|
53
|
+
_dict = self.dict(by_alias=True,
|
54
|
+
exclude={
|
55
|
+
},
|
56
|
+
exclude_none=True)
|
57
|
+
return _dict
|
58
|
+
|
59
|
+
@classmethod
|
60
|
+
def from_dict(cls, obj: dict) -> ShotInfoLocation:
|
61
|
+
"""Create an instance of ShotInfoLocation from a dict"""
|
62
|
+
if obj is None:
|
63
|
+
return None
|
64
|
+
|
65
|
+
if not isinstance(obj, dict):
|
66
|
+
return ShotInfoLocation.parse_obj(obj)
|
67
|
+
|
68
|
+
_obj = ShotInfoLocation.parse_obj({
|
69
|
+
"y": obj.get("y"),
|
70
|
+
"x": obj.get("x")
|
71
|
+
})
|
72
|
+
return _obj
|
73
|
+
|
74
|
+
|
@@ -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.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.12.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.12.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.12.0
|
9
9
|
Contact: admin@collegefootballdata.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|