cbbd 1.10.2__tar.gz → 1.11.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. {cbbd-1.10.2 → cbbd-1.11.1}/PKG-INFO +1 -1
  2. {cbbd-1.10.2 → cbbd-1.11.1}/README.md +5 -4
  3. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/__init__.py +3 -2
  4. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/conferences_api.py +1 -1
  5. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/games_api.py +1 -1
  6. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/lines_api.py +1 -1
  7. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/plays_api.py +1 -1
  8. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/rankings_api.py +1 -1
  9. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/ratings_api.py +1 -1
  10. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/stats_api.py +1 -1
  11. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/teams_api.py +1 -1
  12. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/venues_api.py +1 -1
  13. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api_client.py +2 -2
  14. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/configuration.py +3 -3
  15. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/exceptions.py +1 -1
  16. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/__init__.py +2 -1
  17. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/adjusted_efficiency_info.py +1 -1
  18. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/conference_history.py +1 -1
  19. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/conference_history_teams_inner.py +1 -1
  20. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/conference_info.py +1 -1
  21. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_box_score_players.py +1 -1
  22. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_box_score_players_players_inner.py +1 -1
  23. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_box_score_team.py +1 -1
  24. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_box_score_team_stats.py +1 -1
  25. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_box_score_team_stats_points.py +1 -1
  26. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_info.py +1 -1
  27. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_line_info.py +1 -1
  28. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_lines.py +1 -1
  29. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_media_info.py +1 -1
  30. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_media_info_broadcasts_inner.py +1 -1
  31. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/game_status.py +1 -1
  32. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/line_provider_info.py +1 -1
  33. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/play_info.py +1 -1
  34. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/play_info_participants_inner.py +1 -1
  35. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/play_type_info.py +1 -1
  36. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/player_season_stats.py +12 -4
  37. cbbd-1.11.1/cbbd/models/player_season_stats_win_shares.py +98 -0
  38. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/poll_team_info.py +1 -1
  39. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/season_type.py +1 -1
  40. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/shot_info.py +1 -1
  41. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/shot_info_shooter.py +1 -1
  42. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/srs_info.py +1 -1
  43. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_info.py +1 -1
  44. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_roster.py +1 -1
  45. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_roster_player.py +1 -1
  46. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_roster_player_hometown.py +1 -1
  47. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_season_stats.py +1 -1
  48. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_season_unit_stats.py +1 -1
  49. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_season_unit_stats_field_goals.py +1 -1
  50. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_season_unit_stats_fouls.py +1 -1
  51. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_season_unit_stats_four_factors.py +1 -1
  52. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_season_unit_stats_points.py +1 -1
  53. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_season_unit_stats_rebounds.py +1 -1
  54. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/team_season_unit_stats_turnovers.py +1 -1
  55. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/models/venue_info.py +1 -1
  56. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/rest.py +1 -1
  57. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd.egg-info/PKG-INFO +1 -1
  58. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd.egg-info/SOURCES.txt +2 -0
  59. {cbbd-1.10.2 → cbbd-1.11.1}/pyproject.toml +1 -1
  60. {cbbd-1.10.2 → cbbd-1.11.1}/setup.py +2 -2
  61. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_adjusted_efficiency_info.py +1 -1
  62. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_conference_history.py +1 -1
  63. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_conference_history_teams_inner.py +1 -1
  64. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_conference_info.py +1 -1
  65. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_conferences_api.py +1 -1
  66. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_box_score_players.py +1 -1
  67. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_box_score_players_players_inner.py +1 -1
  68. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_box_score_team.py +1 -1
  69. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_box_score_team_stats.py +1 -1
  70. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_box_score_team_stats_points.py +1 -1
  71. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_info.py +1 -1
  72. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_line_info.py +1 -1
  73. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_lines.py +1 -1
  74. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_media_info.py +1 -1
  75. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_media_info_broadcasts_inner.py +1 -1
  76. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_game_status.py +1 -1
  77. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_games_api.py +1 -1
  78. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_line_provider_info.py +1 -1
  79. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_lines_api.py +1 -1
  80. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_play_info.py +1 -1
  81. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_play_info_participants_inner.py +1 -1
  82. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_play_type_info.py +1 -1
  83. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_player_season_stats.py +7 -3
  84. cbbd-1.11.1/test/test_player_season_stats_win_shares.py +60 -0
  85. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_plays_api.py +1 -1
  86. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_poll_team_info.py +1 -1
  87. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_rankings_api.py +1 -1
  88. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_ratings_api.py +1 -1
  89. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_season_type.py +1 -1
  90. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_shot_info.py +1 -1
  91. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_shot_info_shooter.py +1 -1
  92. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_srs_info.py +1 -1
  93. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_stats_api.py +1 -1
  94. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_info.py +1 -1
  95. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_roster.py +1 -1
  96. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_roster_player.py +1 -1
  97. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_roster_player_hometown.py +1 -1
  98. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_season_stats.py +1 -1
  99. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_season_unit_stats.py +1 -1
  100. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_season_unit_stats_field_goals.py +1 -1
  101. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_season_unit_stats_fouls.py +1 -1
  102. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_season_unit_stats_four_factors.py +1 -1
  103. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_season_unit_stats_points.py +1 -1
  104. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_season_unit_stats_rebounds.py +1 -1
  105. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_team_season_unit_stats_turnovers.py +1 -1
  106. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_teams_api.py +1 -1
  107. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_venue_info.py +1 -1
  108. {cbbd-1.10.2 → cbbd-1.11.1}/test/test_venues_api.py +1 -1
  109. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api/__init__.py +0 -0
  110. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/api_response.py +0 -0
  111. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd/py.typed +0 -0
  112. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd.egg-info/dependency_links.txt +0 -0
  113. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd.egg-info/requires.txt +0 -0
  114. {cbbd-1.10.2 → cbbd-1.11.1}/cbbd.egg-info/top_level.txt +0 -0
  115. {cbbd-1.10.2 → cbbd-1.11.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cbbd
3
- Version: 1.10.2
3
+ Version: 1.11.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.10.2
7
- - Package version: 1.10.2
6
+ - API version: 1.11.1
7
+ - Package version: 1.11.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.10.2
19
+ pip install cbbd@1.11.1
20
20
  ```
21
- (you may need to run `pip` with root permission: `sudo pip install cbbd@1.10.2`)
21
+ (you may need to run `pip` with root permission: `sudo pip install cbbd@1.11.1`)
22
22
 
23
23
  Then import the package:
24
24
  ```python
@@ -119,6 +119,7 @@ Class | Method | HTTP request | Description
119
119
  - [PlayInfoParticipantsInner](docs/PlayInfoParticipantsInner.md)
120
120
  - [PlayTypeInfo](docs/PlayTypeInfo.md)
121
121
  - [PlayerSeasonStats](docs/PlayerSeasonStats.md)
122
+ - [PlayerSeasonStatsWinShares](docs/PlayerSeasonStatsWinShares.md)
122
123
  - [PollTeamInfo](docs/PollTeamInfo.md)
123
124
  - [SeasonType](docs/SeasonType.md)
124
125
  - [ShotInfo](docs/ShotInfo.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.2
10
+ The version of the OpenAPI document: 1.11.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.10.2"
18
+ __version__ = "1.11.1"
19
19
 
20
20
  # import apis into sdk package
21
21
  from cbbd.api.conferences_api import ConferencesApi
@@ -60,6 +60,7 @@ from cbbd.models.play_info import PlayInfo
60
60
  from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
61
61
  from cbbd.models.play_type_info import PlayTypeInfo
62
62
  from cbbd.models.player_season_stats import PlayerSeasonStats
63
+ from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShares
63
64
  from cbbd.models.poll_team_info import PollTeamInfo
64
65
  from cbbd.models.season_type import SeasonType
65
66
  from cbbd.models.shot_info import ShotInfo
@@ -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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2/python'
81
+ self.user_agent = 'OpenAPI-Generator/1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2\n"\
380
- "SDK Package Version: 1.10.2".\
379
+ "Version of the API: 1.11.1\n"\
380
+ "SDK Package Version: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
9
+ The version of the OpenAPI document: 1.11.1
10
10
  Contact: admin@collegefootballdata.com
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -35,6 +35,7 @@ from cbbd.models.play_info import PlayInfo
35
35
  from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
36
36
  from cbbd.models.play_type_info import PlayTypeInfo
37
37
  from cbbd.models.player_season_stats import PlayerSeasonStats
38
+ from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShares
38
39
  from cbbd.models.poll_team_info import PollTeamInfo
39
40
  from cbbd.models.season_type import SeasonType
40
41
  from cbbd.models.shot_info import ShotInfo
@@ -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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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 Optional, Union
23
23
  from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr
24
+ from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShares
24
25
  from cbbd.models.team_season_unit_stats_field_goals import TeamSeasonUnitStatsFieldGoals
25
26
  from cbbd.models.team_season_unit_stats_rebounds import TeamSeasonUnitStatsRebounds
26
27
 
@@ -50,6 +51,7 @@ class PlayerSeasonStats(BaseModel):
50
51
  offensive_rating: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="offensiveRating")
51
52
  defensive_rating: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="defensiveRating")
52
53
  net_rating: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="netRating")
54
+ porpag: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="PORPAG")
53
55
  effective_field_goal_pct: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="effectiveFieldGoalPct")
54
56
  true_shooting_pct: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="trueShootingPct")
55
57
  assists_turnover_ratio: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="assistsTurnoverRatio")
@@ -60,8 +62,8 @@ class PlayerSeasonStats(BaseModel):
60
62
  three_point_field_goals: TeamSeasonUnitStatsFieldGoals = Field(default=..., alias="threePointFieldGoals")
61
63
  free_throws: TeamSeasonUnitStatsFieldGoals = Field(default=..., alias="freeThrows")
62
64
  rebounds: TeamSeasonUnitStatsRebounds = Field(...)
63
- win_shares: TeamSeasonUnitStatsRebounds = Field(default=..., alias="winShares")
64
- __properties = ["season", "seasonLabel", "teamId", "team", "conference", "athleteId", "athleteSourceId", "name", "position", "games", "starts", "minutes", "points", "turnovers", "fouls", "assists", "steals", "blocks", "usage", "offensiveRating", "defensiveRating", "netRating", "effectiveFieldGoalPct", "trueShootingPct", "assistsTurnoverRatio", "freeThrowRate", "offensiveReboundPct", "fieldGoals", "twoPointFieldGoals", "threePointFieldGoals", "freeThrows", "rebounds", "winShares"]
65
+ win_shares: PlayerSeasonStatsWinShares = Field(default=..., alias="winShares")
66
+ __properties = ["season", "seasonLabel", "teamId", "team", "conference", "athleteId", "athleteSourceId", "name", "position", "games", "starts", "minutes", "points", "turnovers", "fouls", "assists", "steals", "blocks", "usage", "offensiveRating", "defensiveRating", "netRating", "PORPAG", "effectiveFieldGoalPct", "trueShootingPct", "assistsTurnoverRatio", "freeThrowRate", "offensiveReboundPct", "fieldGoals", "twoPointFieldGoals", "threePointFieldGoals", "freeThrows", "rebounds", "winShares"]
65
67
 
66
68
  class Config:
67
69
  """Pydantic configuration"""
@@ -160,6 +162,11 @@ class PlayerSeasonStats(BaseModel):
160
162
  if self.net_rating is None and "net_rating" in self.__fields_set__:
161
163
  _dict['netRating'] = None
162
164
 
165
+ # set to None if porpag (nullable) is None
166
+ # and __fields_set__ contains the field
167
+ if self.porpag is None and "porpag" in self.__fields_set__:
168
+ _dict['PORPAG'] = None
169
+
163
170
  # set to None if effective_field_goal_pct (nullable) is None
164
171
  # and __fields_set__ contains the field
165
172
  if self.effective_field_goal_pct is None and "effective_field_goal_pct" in self.__fields_set__:
@@ -219,6 +226,7 @@ class PlayerSeasonStats(BaseModel):
219
226
  "offensive_rating": obj.get("offensiveRating"),
220
227
  "defensive_rating": obj.get("defensiveRating"),
221
228
  "net_rating": obj.get("netRating"),
229
+ "porpag": obj.get("PORPAG"),
222
230
  "effective_field_goal_pct": obj.get("effectiveFieldGoalPct"),
223
231
  "true_shooting_pct": obj.get("trueShootingPct"),
224
232
  "assists_turnover_ratio": obj.get("assistsTurnoverRatio"),
@@ -229,7 +237,7 @@ class PlayerSeasonStats(BaseModel):
229
237
  "three_point_field_goals": TeamSeasonUnitStatsFieldGoals.from_dict(obj.get("threePointFieldGoals")) if obj.get("threePointFieldGoals") is not None else None,
230
238
  "free_throws": TeamSeasonUnitStatsFieldGoals.from_dict(obj.get("freeThrows")) if obj.get("freeThrows") is not None else None,
231
239
  "rebounds": TeamSeasonUnitStatsRebounds.from_dict(obj.get("rebounds")) if obj.get("rebounds") is not None else None,
232
- "win_shares": TeamSeasonUnitStatsRebounds.from_dict(obj.get("winShares")) if obj.get("winShares") is not None else None
240
+ "win_shares": PlayerSeasonStatsWinShares.from_dict(obj.get("winShares")) if obj.get("winShares") is not None else None
233
241
  })
234
242
  return _obj
235
243
 
@@ -0,0 +1,98 @@
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.11.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 Optional, Union
23
+ from pydantic import BaseModel, Field, StrictFloat, StrictInt
24
+
25
+ class PlayerSeasonStatsWinShares(BaseModel):
26
+ """
27
+ PlayerSeasonStatsWinShares
28
+ """
29
+ total_per40: Optional[Union[StrictFloat, StrictInt]] = Field(default=..., alias="totalPer40")
30
+ total: Optional[Union[StrictFloat, StrictInt]] = Field(...)
31
+ defensive: Optional[Union[StrictFloat, StrictInt]] = Field(...)
32
+ offensive: Optional[Union[StrictFloat, StrictInt]] = Field(...)
33
+ __properties = ["totalPer40", "total", "defensive", "offensive"]
34
+
35
+ class Config:
36
+ """Pydantic configuration"""
37
+ allow_population_by_field_name = True
38
+ validate_assignment = True
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.dict(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ return json.dumps(self.to_dict())
47
+
48
+ @classmethod
49
+ def from_json(cls, json_str: str) -> PlayerSeasonStatsWinShares:
50
+ """Create an instance of PlayerSeasonStatsWinShares from a JSON string"""
51
+ return cls.from_dict(json.loads(json_str))
52
+
53
+ def to_dict(self):
54
+ """Returns the dictionary representation of the model using alias"""
55
+ _dict = self.dict(by_alias=True,
56
+ exclude={
57
+ },
58
+ exclude_none=True)
59
+ # set to None if total_per40 (nullable) is None
60
+ # and __fields_set__ contains the field
61
+ if self.total_per40 is None and "total_per40" in self.__fields_set__:
62
+ _dict['totalPer40'] = None
63
+
64
+ # set to None if total (nullable) is None
65
+ # and __fields_set__ contains the field
66
+ if self.total is None and "total" in self.__fields_set__:
67
+ _dict['total'] = None
68
+
69
+ # set to None if defensive (nullable) is None
70
+ # and __fields_set__ contains the field
71
+ if self.defensive is None and "defensive" in self.__fields_set__:
72
+ _dict['defensive'] = None
73
+
74
+ # set to None if offensive (nullable) is None
75
+ # and __fields_set__ contains the field
76
+ if self.offensive is None and "offensive" in self.__fields_set__:
77
+ _dict['offensive'] = None
78
+
79
+ return _dict
80
+
81
+ @classmethod
82
+ def from_dict(cls, obj: dict) -> PlayerSeasonStatsWinShares:
83
+ """Create an instance of PlayerSeasonStatsWinShares from a dict"""
84
+ if obj is None:
85
+ return None
86
+
87
+ if not isinstance(obj, dict):
88
+ return PlayerSeasonStatsWinShares.parse_obj(obj)
89
+
90
+ _obj = PlayerSeasonStatsWinShares.parse_obj({
91
+ "total_per40": obj.get("totalPer40"),
92
+ "total": obj.get("total"),
93
+ "defensive": obj.get("defensive"),
94
+ "offensive": obj.get("offensive")
95
+ })
96
+ return _obj
97
+
98
+
@@ -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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.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.10.2
8
+ The version of the OpenAPI document: 1.11.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11