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.
Files changed (119) hide show
  1. {cbbd-1.11.1 → cbbd-1.12.1}/PKG-INFO +1 -1
  2. {cbbd-1.11.1 → cbbd-1.12.1}/README.md +6 -4
  3. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/__init__.py +4 -2
  4. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/conferences_api.py +1 -1
  5. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/games_api.py +1 -1
  6. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/lines_api.py +1 -1
  7. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/plays_api.py +1 -1
  8. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/rankings_api.py +1 -1
  9. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/ratings_api.py +1 -1
  10. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/stats_api.py +1 -1
  11. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/teams_api.py +1 -1
  12. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/venues_api.py +1 -1
  13. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api_client.py +2 -2
  14. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/configuration.py +3 -3
  15. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/exceptions.py +1 -1
  16. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/__init__.py +3 -1
  17. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/adjusted_efficiency_info.py +9 -3
  18. cbbd-1.12.1/cbbd/models/adjusted_efficiency_info_rankings.py +76 -0
  19. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/conference_history.py +1 -1
  20. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/conference_history_teams_inner.py +1 -1
  21. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/conference_info.py +1 -1
  22. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_players.py +1 -1
  23. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_players_players_inner.py +1 -1
  24. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_team.py +1 -1
  25. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_team_stats.py +1 -1
  26. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_box_score_team_stats_points.py +1 -1
  27. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_info.py +1 -1
  28. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_line_info.py +1 -1
  29. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_lines.py +1 -1
  30. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_media_info.py +1 -1
  31. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_media_info_broadcasts_inner.py +1 -1
  32. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/game_status.py +1 -1
  33. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/line_provider_info.py +1 -1
  34. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/play_info.py +1 -1
  35. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/play_info_participants_inner.py +1 -1
  36. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/play_type_info.py +1 -1
  37. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/player_season_stats.py +1 -1
  38. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/player_season_stats_win_shares.py +1 -1
  39. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/poll_team_info.py +1 -1
  40. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/season_type.py +1 -1
  41. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/shot_info.py +14 -3
  42. cbbd-1.12.1/cbbd/models/shot_info_location.py +74 -0
  43. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/shot_info_shooter.py +1 -1
  44. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/srs_info.py +1 -1
  45. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_info.py +1 -1
  46. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_roster.py +1 -1
  47. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_roster_player.py +1 -1
  48. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_roster_player_hometown.py +1 -1
  49. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_stats.py +6 -2
  50. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats.py +1 -1
  51. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_field_goals.py +1 -1
  52. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_fouls.py +1 -1
  53. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_four_factors.py +1 -1
  54. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_points.py +1 -1
  55. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_rebounds.py +1 -1
  56. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/team_season_unit_stats_turnovers.py +1 -1
  57. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/models/venue_info.py +1 -1
  58. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/rest.py +1 -1
  59. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/PKG-INFO +1 -1
  60. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/SOURCES.txt +4 -0
  61. {cbbd-1.11.1 → cbbd-1.12.1}/pyproject.toml +1 -1
  62. {cbbd-1.11.1 → cbbd-1.12.1}/setup.py +2 -2
  63. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_adjusted_efficiency_info.py +10 -2
  64. cbbd-1.12.1/test/test_adjusted_efficiency_info_rankings.py +58 -0
  65. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_conference_history.py +1 -1
  66. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_conference_history_teams_inner.py +1 -1
  67. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_conference_info.py +1 -1
  68. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_conferences_api.py +1 -1
  69. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_players.py +1 -1
  70. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_players_players_inner.py +1 -1
  71. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_team.py +1 -1
  72. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_team_stats.py +1 -1
  73. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_box_score_team_stats_points.py +1 -1
  74. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_info.py +1 -1
  75. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_line_info.py +1 -1
  76. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_lines.py +1 -1
  77. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_media_info.py +1 -1
  78. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_media_info_broadcasts_inner.py +1 -1
  79. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_game_status.py +1 -1
  80. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_games_api.py +1 -1
  81. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_line_provider_info.py +1 -1
  82. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_lines_api.py +1 -1
  83. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_play_info.py +9 -3
  84. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_play_info_participants_inner.py +1 -1
  85. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_play_type_info.py +1 -1
  86. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_player_season_stats.py +1 -1
  87. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_player_season_stats_win_shares.py +1 -1
  88. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_plays_api.py +1 -1
  89. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_poll_team_info.py +1 -1
  90. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_rankings_api.py +1 -1
  91. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_ratings_api.py +1 -1
  92. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_season_type.py +1 -1
  93. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_shot_info.py +8 -2
  94. cbbd-1.12.1/test/test_shot_info_location.py +56 -0
  95. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_shot_info_shooter.py +1 -1
  96. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_srs_info.py +1 -1
  97. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_stats_api.py +1 -1
  98. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_info.py +1 -1
  99. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_roster.py +1 -1
  100. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_roster_player.py +1 -1
  101. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_roster_player_hometown.py +1 -1
  102. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_stats.py +5 -1
  103. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats.py +1 -1
  104. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_field_goals.py +1 -1
  105. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_fouls.py +1 -1
  106. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_four_factors.py +1 -1
  107. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_points.py +1 -1
  108. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_rebounds.py +1 -1
  109. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_team_season_unit_stats_turnovers.py +1 -1
  110. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_teams_api.py +1 -1
  111. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_venue_info.py +1 -1
  112. {cbbd-1.11.1 → cbbd-1.12.1}/test/test_venues_api.py +1 -1
  113. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api/__init__.py +0 -0
  114. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/api_response.py +0 -0
  115. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd/py.typed +0 -0
  116. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/dependency_links.txt +0 -0
  117. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/requires.txt +0 -0
  118. {cbbd-1.11.1 → cbbd-1.12.1}/cbbd.egg-info/top_level.txt +0 -0
  119. {cbbd-1.11.1 → cbbd-1.12.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cbbd
3
- Version: 1.11.1
3
+ Version: 1.12.1
4
4
  Summary: College Basketball Data API
5
5
  Home-page: https://github.com/CFBD/cbbd-python
6
6
  Author-email: admin@collegefootballdata.com
@@ -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.11.1
7
- - Package version: 1.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.1/python'
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.11.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.11.1\n"\
380
- "SDK Package Version: 1.11.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.11.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.11.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.11.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
- __properties = ["season", "teamId", "team", "conference", "offensiveRating", "defensiveRating", "netRating"]
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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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.11.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