cbbd 1.13.0__tar.gz → 1.14.1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. {cbbd-1.13.0 → cbbd-1.14.1}/PKG-INFO +1 -1
  2. {cbbd-1.13.0 → cbbd-1.14.1}/README.md +8 -4
  3. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/__init__.py +6 -2
  4. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/__init__.py +1 -0
  5. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/conferences_api.py +1 -1
  6. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/draft_api.py +1 -1
  7. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/games_api.py +1 -1
  8. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/lines_api.py +1 -1
  9. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/plays_api.py +1 -1
  10. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/rankings_api.py +1 -1
  11. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/ratings_api.py +1 -1
  12. cbbd-1.14.1/cbbd/api/recruiting_api.py +211 -0
  13. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/stats_api.py +1 -1
  14. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/teams_api.py +1 -1
  15. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api/venues_api.py +1 -1
  16. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api_client.py +2 -2
  17. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/configuration.py +3 -3
  18. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/exceptions.py +1 -1
  19. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/__init__.py +4 -1
  20. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/adjusted_efficiency_info.py +1 -1
  21. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/adjusted_efficiency_info_rankings.py +1 -1
  22. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/conference_history.py +1 -1
  23. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/conference_history_teams_inner.py +1 -1
  24. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/conference_info.py +1 -1
  25. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/draft_pick.py +1 -1
  26. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/draft_position.py +1 -1
  27. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/draft_team.py +1 -1
  28. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_box_score_players.py +1 -1
  29. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_box_score_players_players_inner.py +1 -1
  30. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_box_score_team.py +1 -1
  31. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_box_score_team_stats.py +1 -1
  32. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_box_score_team_stats_points.py +1 -1
  33. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_info.py +1 -1
  34. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_line_info.py +1 -1
  35. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_lines.py +1 -1
  36. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_media_info.py +1 -1
  37. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_media_info_broadcasts_inner.py +1 -1
  38. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/game_status.py +1 -1
  39. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/line_provider_info.py +1 -1
  40. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/play_info.py +1 -1
  41. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/play_info_participants_inner.py +1 -1
  42. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/play_type_info.py +1 -1
  43. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/player_season_stats.py +1 -1
  44. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/player_season_stats_win_shares.py +1 -1
  45. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/poll_team_info.py +1 -1
  46. cbbd-1.14.1/cbbd/models/recruit.py +158 -0
  47. cbbd-1.14.1/cbbd/models/recruit_committed_to.py +91 -0
  48. cbbd-1.14.1/cbbd/models/recruit_hometown.py +91 -0
  49. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/season_type.py +1 -1
  50. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/shot_info.py +1 -1
  51. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/shot_info_location.py +1 -1
  52. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/shot_info_shooter.py +1 -1
  53. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/srs_info.py +1 -1
  54. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_info.py +1 -1
  55. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_roster.py +1 -1
  56. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_roster_player.py +1 -1
  57. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_roster_player_hometown.py +1 -1
  58. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_season_stats.py +1 -1
  59. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_season_unit_stats.py +1 -1
  60. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_season_unit_stats_field_goals.py +1 -1
  61. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_season_unit_stats_fouls.py +1 -1
  62. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_season_unit_stats_four_factors.py +1 -1
  63. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_season_unit_stats_points.py +1 -1
  64. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_season_unit_stats_rebounds.py +1 -1
  65. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/team_season_unit_stats_turnovers.py +1 -1
  66. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/models/venue_info.py +1 -1
  67. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/rest.py +1 -1
  68. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd.egg-info/PKG-INFO +1 -1
  69. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd.egg-info/SOURCES.txt +8 -0
  70. {cbbd-1.13.0 → cbbd-1.14.1}/pyproject.toml +1 -1
  71. {cbbd-1.13.0 → cbbd-1.14.1}/setup.py +2 -2
  72. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_adjusted_efficiency_info.py +1 -1
  73. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_adjusted_efficiency_info_rankings.py +1 -1
  74. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_conference_history.py +1 -1
  75. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_conference_history_teams_inner.py +1 -1
  76. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_conference_info.py +1 -1
  77. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_conferences_api.py +1 -1
  78. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_draft_api.py +1 -1
  79. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_draft_pick.py +1 -1
  80. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_draft_position.py +1 -1
  81. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_draft_team.py +1 -1
  82. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_box_score_players.py +1 -1
  83. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_box_score_players_players_inner.py +1 -1
  84. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_box_score_team.py +1 -1
  85. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_box_score_team_stats.py +1 -1
  86. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_box_score_team_stats_points.py +1 -1
  87. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_info.py +1 -1
  88. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_line_info.py +1 -1
  89. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_lines.py +1 -1
  90. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_media_info.py +1 -1
  91. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_media_info_broadcasts_inner.py +1 -1
  92. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_game_status.py +1 -1
  93. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_games_api.py +1 -1
  94. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_line_provider_info.py +1 -1
  95. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_lines_api.py +1 -1
  96. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_play_info.py +1 -1
  97. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_play_info_participants_inner.py +1 -1
  98. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_play_type_info.py +1 -1
  99. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_player_season_stats.py +1 -1
  100. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_player_season_stats_win_shares.py +1 -1
  101. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_plays_api.py +1 -1
  102. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_poll_team_info.py +1 -1
  103. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_rankings_api.py +1 -1
  104. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_ratings_api.py +1 -1
  105. cbbd-1.14.1/test/test_recruit.py +94 -0
  106. cbbd-1.14.1/test/test_recruit_committed_to.py +58 -0
  107. cbbd-1.14.1/test/test_recruit_hometown.py +58 -0
  108. cbbd-1.14.1/test/test_recruiting_api.py +38 -0
  109. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_season_type.py +1 -1
  110. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_shot_info.py +1 -1
  111. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_shot_info_location.py +1 -1
  112. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_shot_info_shooter.py +1 -1
  113. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_srs_info.py +1 -1
  114. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_stats_api.py +1 -1
  115. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_info.py +1 -1
  116. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_roster.py +1 -1
  117. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_roster_player.py +1 -1
  118. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_roster_player_hometown.py +1 -1
  119. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_season_stats.py +1 -1
  120. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_season_unit_stats.py +1 -1
  121. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_season_unit_stats_field_goals.py +1 -1
  122. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_season_unit_stats_fouls.py +1 -1
  123. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_season_unit_stats_four_factors.py +1 -1
  124. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_season_unit_stats_points.py +1 -1
  125. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_season_unit_stats_rebounds.py +1 -1
  126. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_team_season_unit_stats_turnovers.py +1 -1
  127. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_teams_api.py +1 -1
  128. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_venue_info.py +1 -1
  129. {cbbd-1.13.0 → cbbd-1.14.1}/test/test_venues_api.py +1 -1
  130. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/api_response.py +0 -0
  131. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd/py.typed +0 -0
  132. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd.egg-info/dependency_links.txt +0 -0
  133. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd.egg-info/requires.txt +0 -0
  134. {cbbd-1.13.0 → cbbd-1.14.1}/cbbd.egg-info/top_level.txt +0 -0
  135. {cbbd-1.13.0 → cbbd-1.14.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cbbd
3
- Version: 1.13.0
3
+ Version: 1.14.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.13.0
7
- - Package version: 1.13.0
6
+ - API version: 1.14.1
7
+ - Package version: 1.14.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.13.0
19
+ pip install cbbd@1.14.1
20
20
  ```
21
- (you may need to run `pip` with root permission: `sudo pip install cbbd@1.13.0`)
21
+ (you may need to run `pip` with root permission: `sudo pip install cbbd@1.14.1`)
22
22
 
23
23
  Then import the package:
24
24
  ```python
@@ -93,6 +93,7 @@ Class | Method | HTTP request | Description
93
93
  *RankingsApi* | [**get_rankings**](docs/RankingsApi.md#get_rankings) | **GET** /rankings |
94
94
  *RatingsApi* | [**get_adjusted_efficiency**](docs/RatingsApi.md#get_adjusted_efficiency) | **GET** /ratings/adjusted |
95
95
  *RatingsApi* | [**get_srs**](docs/RatingsApi.md#get_srs) | **GET** /ratings/srs |
96
+ *RecruitingApi* | [**get_recruits**](docs/RecruitingApi.md#get_recruits) | **GET** /recruiting/players |
96
97
  *StatsApi* | [**get_player_season_stats**](docs/StatsApi.md#get_player_season_stats) | **GET** /stats/player/season |
97
98
  *StatsApi* | [**get_team_season_stats**](docs/StatsApi.md#get_team_season_stats) | **GET** /stats/team/season |
98
99
  *TeamsApi* | [**get_team_roster**](docs/TeamsApi.md#get_team_roster) | **GET** /teams/roster |
@@ -128,6 +129,9 @@ Class | Method | HTTP request | Description
128
129
  - [PlayerSeasonStats](docs/PlayerSeasonStats.md)
129
130
  - [PlayerSeasonStatsWinShares](docs/PlayerSeasonStatsWinShares.md)
130
131
  - [PollTeamInfo](docs/PollTeamInfo.md)
132
+ - [Recruit](docs/Recruit.md)
133
+ - [RecruitCommittedTo](docs/RecruitCommittedTo.md)
134
+ - [RecruitHometown](docs/RecruitHometown.md)
131
135
  - [SeasonType](docs/SeasonType.md)
132
136
  - [ShotInfo](docs/ShotInfo.md)
133
137
  - [ShotInfoLocation](docs/ShotInfoLocation.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.13.0
10
+ The version of the OpenAPI document: 1.14.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.13.0"
18
+ __version__ = "1.14.1"
19
19
 
20
20
  # import apis into sdk package
21
21
  from cbbd.api.conferences_api import ConferencesApi
@@ -25,6 +25,7 @@ from cbbd.api.lines_api import LinesApi
25
25
  from cbbd.api.plays_api import PlaysApi
26
26
  from cbbd.api.rankings_api import RankingsApi
27
27
  from cbbd.api.ratings_api import RatingsApi
28
+ from cbbd.api.recruiting_api import RecruitingApi
28
29
  from cbbd.api.stats_api import StatsApi
29
30
  from cbbd.api.teams_api import TeamsApi
30
31
  from cbbd.api.venues_api import VenuesApi
@@ -67,6 +68,9 @@ from cbbd.models.play_type_info import PlayTypeInfo
67
68
  from cbbd.models.player_season_stats import PlayerSeasonStats
68
69
  from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShares
69
70
  from cbbd.models.poll_team_info import PollTeamInfo
71
+ from cbbd.models.recruit import Recruit
72
+ from cbbd.models.recruit_committed_to import RecruitCommittedTo
73
+ from cbbd.models.recruit_hometown import RecruitHometown
70
74
  from cbbd.models.season_type import SeasonType
71
75
  from cbbd.models.shot_info import ShotInfo
72
76
  from cbbd.models.shot_info_location import ShotInfoLocation
@@ -8,6 +8,7 @@ from cbbd.api.lines_api import LinesApi
8
8
  from cbbd.api.plays_api import PlaysApi
9
9
  from cbbd.api.rankings_api import RankingsApi
10
10
  from cbbd.api.ratings_api import RatingsApi
11
+ from cbbd.api.recruiting_api import RecruitingApi
11
12
  from cbbd.api.stats_api import StatsApi
12
13
  from cbbd.api.teams_api import TeamsApi
13
14
  from cbbd.api.venues_api import VenuesApi
@@ -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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -0,0 +1,211 @@
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.14.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
+ import re # noqa: F401
17
+ import io
18
+ import warnings
19
+
20
+ from pydantic import validate_arguments, ValidationError
21
+
22
+ from typing_extensions import Annotated
23
+ from pydantic import Field, StrictInt, StrictStr
24
+
25
+ from typing import List, Optional
26
+
27
+ from cbbd.models.recruit import Recruit
28
+
29
+ from cbbd.api_client import ApiClient
30
+ from cbbd.api_response import ApiResponse
31
+ from cbbd.exceptions import ( # noqa: F401
32
+ ApiTypeError,
33
+ ApiValueError
34
+ )
35
+
36
+
37
+ class RecruitingApi:
38
+ """NOTE: This class is auto generated by OpenAPI Generator
39
+ Ref: https://openapi-generator.tech
40
+
41
+ Do not edit the class manually.
42
+ """
43
+
44
+ def __init__(self, api_client=None) -> None:
45
+ if api_client is None:
46
+ api_client = ApiClient.get_default()
47
+ self.api_client = api_client
48
+
49
+ @validate_arguments
50
+ def get_recruits(self, year : Annotated[Optional[StrictInt], Field(description="Optional year filter")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional college team filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional college conference filter")] = None, position : Annotated[Optional[StrictStr], Field(description="Optional position filter")] = None, **kwargs) -> List[Recruit]: # noqa: E501
51
+ """get_recruits # noqa: E501
52
+
53
+ Retrieves historical composite player recruiting ranking and ratings # noqa: E501
54
+ This method makes a synchronous HTTP request by default. To make an
55
+ asynchronous HTTP request, please pass async_req=True
56
+
57
+ >>> thread = api.get_recruits(year, team, conference, position, async_req=True)
58
+ >>> result = thread.get()
59
+
60
+ :param year: Optional year filter
61
+ :type year: int
62
+ :param team: Optional college team filter
63
+ :type team: str
64
+ :param conference: Optional college conference filter
65
+ :type conference: str
66
+ :param position: Optional position filter
67
+ :type position: str
68
+ :param async_req: Whether to execute the request asynchronously.
69
+ :type async_req: bool, optional
70
+ :param _request_timeout: timeout setting for this request.
71
+ If one number provided, it will be total request
72
+ timeout. It can also be a pair (tuple) of
73
+ (connection, read) timeouts.
74
+ :return: Returns the result object.
75
+ If the method is called asynchronously,
76
+ returns the request thread.
77
+ :rtype: List[Recruit]
78
+ """
79
+ kwargs['_return_http_data_only'] = True
80
+ if '_preload_content' in kwargs:
81
+ message = "Error! Please call the get_recruits_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
82
+ raise ValueError(message)
83
+ return self.get_recruits_with_http_info(year, team, conference, position, **kwargs) # noqa: E501
84
+
85
+ @validate_arguments
86
+ def get_recruits_with_http_info(self, year : Annotated[Optional[StrictInt], Field(description="Optional year filter")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional college team filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional college conference filter")] = None, position : Annotated[Optional[StrictStr], Field(description="Optional position filter")] = None, **kwargs) -> ApiResponse: # noqa: E501
87
+ """get_recruits # noqa: E501
88
+
89
+ Retrieves historical composite player recruiting ranking and ratings # noqa: E501
90
+ This method makes a synchronous HTTP request by default. To make an
91
+ asynchronous HTTP request, please pass async_req=True
92
+
93
+ >>> thread = api.get_recruits_with_http_info(year, team, conference, position, async_req=True)
94
+ >>> result = thread.get()
95
+
96
+ :param year: Optional year filter
97
+ :type year: int
98
+ :param team: Optional college team filter
99
+ :type team: str
100
+ :param conference: Optional college conference filter
101
+ :type conference: str
102
+ :param position: Optional position filter
103
+ :type position: str
104
+ :param async_req: Whether to execute the request asynchronously.
105
+ :type async_req: bool, optional
106
+ :param _preload_content: if False, the ApiResponse.data will
107
+ be set to none and raw_data will store the
108
+ HTTP response body without reading/decoding.
109
+ Default is True.
110
+ :type _preload_content: bool, optional
111
+ :param _return_http_data_only: response data instead of ApiResponse
112
+ object with status code, headers, etc
113
+ :type _return_http_data_only: bool, optional
114
+ :param _request_timeout: timeout setting for this request. If one
115
+ number provided, it will be total request
116
+ timeout. It can also be a pair (tuple) of
117
+ (connection, read) timeouts.
118
+ :param _request_auth: set to override the auth_settings for an a single
119
+ request; this effectively ignores the authentication
120
+ in the spec for a single request.
121
+ :type _request_auth: dict, optional
122
+ :type _content_type: string, optional: force content-type for the request
123
+ :return: Returns the result object.
124
+ If the method is called asynchronously,
125
+ returns the request thread.
126
+ :rtype: tuple(List[Recruit], status_code(int), headers(HTTPHeaderDict))
127
+ """
128
+
129
+ _params = locals()
130
+
131
+ _all_params = [
132
+ 'year',
133
+ 'team',
134
+ 'conference',
135
+ 'position'
136
+ ]
137
+ _all_params.extend(
138
+ [
139
+ 'async_req',
140
+ '_return_http_data_only',
141
+ '_preload_content',
142
+ '_request_timeout',
143
+ '_request_auth',
144
+ '_content_type',
145
+ '_headers'
146
+ ]
147
+ )
148
+
149
+ # validate the arguments
150
+ for _key, _val in _params['kwargs'].items():
151
+ if _key not in _all_params:
152
+ raise ApiTypeError(
153
+ "Got an unexpected keyword argument '%s'"
154
+ " to method get_recruits" % _key
155
+ )
156
+ _params[_key] = _val
157
+ del _params['kwargs']
158
+
159
+ _collection_formats = {}
160
+
161
+ # process the path parameters
162
+ _path_params = {}
163
+
164
+ # process the query parameters
165
+ _query_params = []
166
+ if _params.get('year') is not None: # noqa: E501
167
+ _query_params.append(('year', _params['year']))
168
+
169
+ if _params.get('team') is not None: # noqa: E501
170
+ _query_params.append(('team', _params['team']))
171
+
172
+ if _params.get('conference') is not None: # noqa: E501
173
+ _query_params.append(('conference', _params['conference']))
174
+
175
+ if _params.get('position') is not None: # noqa: E501
176
+ _query_params.append(('position', _params['position']))
177
+
178
+ # process the header parameters
179
+ _header_params = dict(_params.get('_headers', {}))
180
+ # process the form parameters
181
+ _form_params = []
182
+ _files = {}
183
+ # process the body parameter
184
+ _body_params = None
185
+ # set the HTTP header `Accept`
186
+ _header_params['Accept'] = self.api_client.select_header_accept(
187
+ ['application/json']) # noqa: E501
188
+
189
+ # authentication setting
190
+ _auth_settings = ['apiKey'] # noqa: E501
191
+
192
+ _response_types_map = {
193
+ '200': "List[Recruit]",
194
+ }
195
+
196
+ return self.api_client.call_api(
197
+ '/recruiting/players', 'GET',
198
+ _path_params,
199
+ _query_params,
200
+ _header_params,
201
+ body=_body_params,
202
+ post_params=_form_params,
203
+ files=_files,
204
+ response_types_map=_response_types_map,
205
+ auth_settings=_auth_settings,
206
+ async_req=_params.get('async_req'),
207
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
208
+ _preload_content=_params.get('_preload_content', True),
209
+ _request_timeout=_params.get('_request_timeout'),
210
+ collection_formats=_collection_formats,
211
+ _request_auth=_params.get('_request_auth'))
@@ -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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0/python'
81
+ self.user_agent = 'OpenAPI-Generator/1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0\n"\
380
- "SDK Package Version: 1.13.0".\
379
+ "Version of the API: 1.14.1\n"\
380
+ "SDK Package Version: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
9
+ The version of the OpenAPI document: 1.14.1
10
10
  Contact: admin@collegefootballdata.com
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -41,6 +41,9 @@ from cbbd.models.play_type_info import PlayTypeInfo
41
41
  from cbbd.models.player_season_stats import PlayerSeasonStats
42
42
  from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShares
43
43
  from cbbd.models.poll_team_info import PollTeamInfo
44
+ from cbbd.models.recruit import Recruit
45
+ from cbbd.models.recruit_committed_to import RecruitCommittedTo
46
+ from cbbd.models.recruit_hometown import RecruitHometown
44
47
  from cbbd.models.season_type import SeasonType
45
48
  from cbbd.models.shot_info import ShotInfo
46
49
  from cbbd.models.shot_info_location import ShotInfoLocation
@@ -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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.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.13.0
8
+ The version of the OpenAPI document: 1.14.1
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11