cbbd 1.15.3__py3-none-any.whl → 1.16.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. cbbd/__init__.py +4 -2
  2. cbbd/api/conferences_api.py +1 -1
  3. cbbd/api/draft_api.py +1 -1
  4. cbbd/api/games_api.py +1 -1
  5. cbbd/api/lines_api.py +1 -1
  6. cbbd/api/plays_api.py +438 -1
  7. cbbd/api/rankings_api.py +1 -1
  8. cbbd/api/ratings_api.py +1 -1
  9. cbbd/api/recruiting_api.py +1 -1
  10. cbbd/api/stats_api.py +1 -1
  11. cbbd/api/teams_api.py +1 -1
  12. cbbd/api/venues_api.py +1 -1
  13. cbbd/api_client.py +3 -3
  14. cbbd/configuration.py +3 -3
  15. cbbd/exceptions.py +1 -1
  16. cbbd/models/__init__.py +3 -1
  17. cbbd/models/adjusted_efficiency_info.py +1 -1
  18. cbbd/models/adjusted_efficiency_info_rankings.py +1 -1
  19. cbbd/models/conference_history.py +1 -1
  20. cbbd/models/conference_history_teams_inner.py +1 -1
  21. cbbd/models/conference_info.py +1 -1
  22. cbbd/models/draft_pick.py +1 -1
  23. cbbd/models/draft_position.py +1 -1
  24. cbbd/models/draft_team.py +1 -1
  25. cbbd/models/game_box_score_players.py +1 -1
  26. cbbd/models/game_box_score_players_players_inner.py +1 -1
  27. cbbd/models/game_box_score_team.py +1 -1
  28. cbbd/models/game_box_score_team_stats.py +1 -1
  29. cbbd/models/game_box_score_team_stats_points.py +1 -1
  30. cbbd/models/game_info.py +1 -1
  31. cbbd/models/game_line_info.py +1 -1
  32. cbbd/models/game_lines.py +1 -1
  33. cbbd/models/game_media_info.py +1 -1
  34. cbbd/models/game_media_info_broadcasts_inner.py +1 -1
  35. cbbd/models/game_status.py +1 -1
  36. cbbd/models/line_provider_info.py +1 -1
  37. cbbd/models/play_info.py +1 -1
  38. cbbd/models/play_info_participants_inner.py +1 -1
  39. cbbd/models/play_type_info.py +1 -1
  40. cbbd/models/player_season_stats.py +1 -1
  41. cbbd/models/player_season_stats_win_shares.py +1 -1
  42. cbbd/models/player_subsititution.py +118 -0
  43. cbbd/models/player_subsititution_sub_in.py +78 -0
  44. cbbd/models/poll_team_info.py +1 -1
  45. cbbd/models/recruit.py +1 -1
  46. cbbd/models/recruit_committed_to.py +1 -1
  47. cbbd/models/recruit_hometown.py +1 -1
  48. cbbd/models/season_type.py +1 -1
  49. cbbd/models/shot_info.py +1 -1
  50. cbbd/models/shot_info_location.py +1 -1
  51. cbbd/models/shot_info_shooter.py +1 -1
  52. cbbd/models/srs_info.py +1 -1
  53. cbbd/models/team_info.py +1 -1
  54. cbbd/models/team_roster.py +1 -1
  55. cbbd/models/team_roster_player.py +1 -1
  56. cbbd/models/team_roster_player_hometown.py +1 -1
  57. cbbd/models/team_season_stats.py +1 -1
  58. cbbd/models/team_season_unit_stats.py +1 -1
  59. cbbd/models/team_season_unit_stats_field_goals.py +1 -1
  60. cbbd/models/team_season_unit_stats_fouls.py +1 -1
  61. cbbd/models/team_season_unit_stats_four_factors.py +1 -1
  62. cbbd/models/team_season_unit_stats_points.py +1 -1
  63. cbbd/models/team_season_unit_stats_rebounds.py +1 -1
  64. cbbd/models/team_season_unit_stats_turnovers.py +1 -1
  65. cbbd/models/venue_info.py +1 -1
  66. cbbd/rest.py +1 -1
  67. {cbbd-1.15.3.dist-info → cbbd-1.16.0.dist-info}/METADATA +1 -1
  68. cbbd-1.16.0.dist-info/RECORD +73 -0
  69. {cbbd-1.15.3.dist-info → cbbd-1.16.0.dist-info}/WHEEL +1 -1
  70. cbbd-1.15.3.dist-info/RECORD +0 -71
  71. {cbbd-1.15.3.dist-info → cbbd-1.16.0.dist-info}/top_level.txt +0 -0
cbbd/__init__.py CHANGED
@@ -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.15.3
10
+ The version of the OpenAPI document: 1.16.0
11
11
  Contact: admin@collegefootballdata.com
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "1.15.3"
18
+ __version__ = "1.16.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from cbbd.api.conferences_api import ConferencesApi
@@ -67,6 +67,8 @@ from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
67
67
  from cbbd.models.play_type_info import PlayTypeInfo
68
68
  from cbbd.models.player_season_stats import PlayerSeasonStats
69
69
  from cbbd.models.player_season_stats_win_shares import PlayerSeasonStatsWinShares
70
+ from cbbd.models.player_subsititution import PlayerSubsititution
71
+ from cbbd.models.player_subsititution_sub_in import PlayerSubsititutionSubIn
70
72
  from cbbd.models.poll_team_info import PollTeamInfo
71
73
  from cbbd.models.recruit import Recruit
72
74
  from cbbd.models.recruit_committed_to import RecruitCommittedTo
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api/draft_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api/games_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api/lines_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api/plays_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -28,6 +28,7 @@ from typing import List, Optional
28
28
 
29
29
  from cbbd.models.play_info import PlayInfo
30
30
  from cbbd.models.play_type_info import PlayTypeInfo
31
+ from cbbd.models.player_subsititution import PlayerSubsititution
31
32
 
32
33
  from cbbd.api_client import ApiClient
33
34
  from cbbd.api_response import ApiResponse
@@ -791,3 +792,439 @@ class PlaysApi:
791
792
  _request_timeout=_params.get('_request_timeout'),
792
793
  collection_formats=_collection_formats,
793
794
  _request_auth=_params.get('_request_auth'))
795
+
796
+ @validate_arguments
797
+ def get_substitutions_by_game(self, game_id : Annotated[StrictInt, Field(..., description="Game id filter")], **kwargs) -> List[PlayerSubsititution]: # noqa: E501
798
+ """get_substitutions_by_game # noqa: E501
799
+
800
+ Returns all player substitutions for a given game # noqa: E501
801
+ This method makes a synchronous HTTP request by default. To make an
802
+ asynchronous HTTP request, please pass async_req=True
803
+
804
+ >>> thread = api.get_substitutions_by_game(game_id, async_req=True)
805
+ >>> result = thread.get()
806
+
807
+ :param game_id: Game id filter (required)
808
+ :type game_id: int
809
+ :param async_req: Whether to execute the request asynchronously.
810
+ :type async_req: bool, optional
811
+ :param _request_timeout: timeout setting for this request.
812
+ If one number provided, it will be total request
813
+ timeout. It can also be a pair (tuple) of
814
+ (connection, read) timeouts.
815
+ :return: Returns the result object.
816
+ If the method is called asynchronously,
817
+ returns the request thread.
818
+ :rtype: List[PlayerSubsititution]
819
+ """
820
+ kwargs['_return_http_data_only'] = True
821
+ if '_preload_content' in kwargs:
822
+ message = "Error! Please call the get_substitutions_by_game_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
823
+ raise ValueError(message)
824
+ return self.get_substitutions_by_game_with_http_info(game_id, **kwargs) # noqa: E501
825
+
826
+ @validate_arguments
827
+ def get_substitutions_by_game_with_http_info(self, game_id : Annotated[StrictInt, Field(..., description="Game id filter")], **kwargs) -> ApiResponse: # noqa: E501
828
+ """get_substitutions_by_game # noqa: E501
829
+
830
+ Returns all player substitutions for a given game # noqa: E501
831
+ This method makes a synchronous HTTP request by default. To make an
832
+ asynchronous HTTP request, please pass async_req=True
833
+
834
+ >>> thread = api.get_substitutions_by_game_with_http_info(game_id, async_req=True)
835
+ >>> result = thread.get()
836
+
837
+ :param game_id: Game id filter (required)
838
+ :type game_id: int
839
+ :param async_req: Whether to execute the request asynchronously.
840
+ :type async_req: bool, optional
841
+ :param _preload_content: if False, the ApiResponse.data will
842
+ be set to none and raw_data will store the
843
+ HTTP response body without reading/decoding.
844
+ Default is True.
845
+ :type _preload_content: bool, optional
846
+ :param _return_http_data_only: response data instead of ApiResponse
847
+ object with status code, headers, etc
848
+ :type _return_http_data_only: bool, optional
849
+ :param _request_timeout: timeout setting for this request. If one
850
+ number provided, it will be total request
851
+ timeout. It can also be a pair (tuple) of
852
+ (connection, read) timeouts.
853
+ :param _request_auth: set to override the auth_settings for an a single
854
+ request; this effectively ignores the authentication
855
+ in the spec for a single request.
856
+ :type _request_auth: dict, optional
857
+ :type _content_type: string, optional: force content-type for the request
858
+ :return: Returns the result object.
859
+ If the method is called asynchronously,
860
+ returns the request thread.
861
+ :rtype: tuple(List[PlayerSubsititution], status_code(int), headers(HTTPHeaderDict))
862
+ """
863
+
864
+ _params = locals()
865
+
866
+ _all_params = [
867
+ 'game_id'
868
+ ]
869
+ _all_params.extend(
870
+ [
871
+ 'async_req',
872
+ '_return_http_data_only',
873
+ '_preload_content',
874
+ '_request_timeout',
875
+ '_request_auth',
876
+ '_content_type',
877
+ '_headers'
878
+ ]
879
+ )
880
+
881
+ # validate the arguments
882
+ for _key, _val in _params['kwargs'].items():
883
+ if _key not in _all_params:
884
+ raise ApiTypeError(
885
+ "Got an unexpected keyword argument '%s'"
886
+ " to method get_substitutions_by_game" % _key
887
+ )
888
+ _params[_key] = _val
889
+ del _params['kwargs']
890
+
891
+ _collection_formats = {}
892
+
893
+ # process the path parameters
894
+ _path_params = {}
895
+ if _params['game_id'] is not None:
896
+ _path_params['gameId'] = _params['game_id']
897
+
898
+
899
+ # process the query parameters
900
+ _query_params = []
901
+ # process the header parameters
902
+ _header_params = dict(_params.get('_headers', {}))
903
+ # process the form parameters
904
+ _form_params = []
905
+ _files = {}
906
+ # process the body parameter
907
+ _body_params = None
908
+ # set the HTTP header `Accept`
909
+ _header_params['Accept'] = self.api_client.select_header_accept(
910
+ ['application/json']) # noqa: E501
911
+
912
+ # authentication setting
913
+ _auth_settings = ['apiKey'] # noqa: E501
914
+
915
+ _response_types_map = {
916
+ '200': "List[PlayerSubsititution]",
917
+ }
918
+
919
+ return self.api_client.call_api(
920
+ '/substitutions/game/{gameId}', 'GET',
921
+ _path_params,
922
+ _query_params,
923
+ _header_params,
924
+ body=_body_params,
925
+ post_params=_form_params,
926
+ files=_files,
927
+ response_types_map=_response_types_map,
928
+ auth_settings=_auth_settings,
929
+ async_req=_params.get('async_req'),
930
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
931
+ _preload_content=_params.get('_preload_content', True),
932
+ _request_timeout=_params.get('_request_timeout'),
933
+ collection_formats=_collection_formats,
934
+ _request_auth=_params.get('_request_auth'))
935
+
936
+ @validate_arguments
937
+ def get_substitutions_by_player_id(self, player_id : Annotated[StrictInt, Field(..., description="Required player id filter")], season : Annotated[StrictInt, Field(..., description="Required season filter")], **kwargs) -> List[PlayerSubsititution]: # noqa: E501
938
+ """get_substitutions_by_player_id # noqa: E501
939
+
940
+ Retrieve all player substitutions for a given player and season # noqa: E501
941
+ This method makes a synchronous HTTP request by default. To make an
942
+ asynchronous HTTP request, please pass async_req=True
943
+
944
+ >>> thread = api.get_substitutions_by_player_id(player_id, season, async_req=True)
945
+ >>> result = thread.get()
946
+
947
+ :param player_id: Required player id filter (required)
948
+ :type player_id: int
949
+ :param season: Required season filter (required)
950
+ :type season: int
951
+ :param async_req: Whether to execute the request asynchronously.
952
+ :type async_req: bool, optional
953
+ :param _request_timeout: timeout setting for this request.
954
+ If one number provided, it will be total request
955
+ timeout. It can also be a pair (tuple) of
956
+ (connection, read) timeouts.
957
+ :return: Returns the result object.
958
+ If the method is called asynchronously,
959
+ returns the request thread.
960
+ :rtype: List[PlayerSubsititution]
961
+ """
962
+ kwargs['_return_http_data_only'] = True
963
+ if '_preload_content' in kwargs:
964
+ message = "Error! Please call the get_substitutions_by_player_id_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
965
+ raise ValueError(message)
966
+ return self.get_substitutions_by_player_id_with_http_info(player_id, season, **kwargs) # noqa: E501
967
+
968
+ @validate_arguments
969
+ def get_substitutions_by_player_id_with_http_info(self, player_id : Annotated[StrictInt, Field(..., description="Required player id filter")], season : Annotated[StrictInt, Field(..., description="Required season filter")], **kwargs) -> ApiResponse: # noqa: E501
970
+ """get_substitutions_by_player_id # noqa: E501
971
+
972
+ Retrieve all player substitutions for a given player and season # noqa: E501
973
+ This method makes a synchronous HTTP request by default. To make an
974
+ asynchronous HTTP request, please pass async_req=True
975
+
976
+ >>> thread = api.get_substitutions_by_player_id_with_http_info(player_id, season, async_req=True)
977
+ >>> result = thread.get()
978
+
979
+ :param player_id: Required player id filter (required)
980
+ :type player_id: int
981
+ :param season: Required season filter (required)
982
+ :type season: int
983
+ :param async_req: Whether to execute the request asynchronously.
984
+ :type async_req: bool, optional
985
+ :param _preload_content: if False, the ApiResponse.data will
986
+ be set to none and raw_data will store the
987
+ HTTP response body without reading/decoding.
988
+ Default is True.
989
+ :type _preload_content: bool, optional
990
+ :param _return_http_data_only: response data instead of ApiResponse
991
+ object with status code, headers, etc
992
+ :type _return_http_data_only: bool, optional
993
+ :param _request_timeout: timeout setting for this request. If one
994
+ number provided, it will be total request
995
+ timeout. It can also be a pair (tuple) of
996
+ (connection, read) timeouts.
997
+ :param _request_auth: set to override the auth_settings for an a single
998
+ request; this effectively ignores the authentication
999
+ in the spec for a single request.
1000
+ :type _request_auth: dict, optional
1001
+ :type _content_type: string, optional: force content-type for the request
1002
+ :return: Returns the result object.
1003
+ If the method is called asynchronously,
1004
+ returns the request thread.
1005
+ :rtype: tuple(List[PlayerSubsititution], status_code(int), headers(HTTPHeaderDict))
1006
+ """
1007
+
1008
+ _params = locals()
1009
+
1010
+ _all_params = [
1011
+ 'player_id',
1012
+ 'season'
1013
+ ]
1014
+ _all_params.extend(
1015
+ [
1016
+ 'async_req',
1017
+ '_return_http_data_only',
1018
+ '_preload_content',
1019
+ '_request_timeout',
1020
+ '_request_auth',
1021
+ '_content_type',
1022
+ '_headers'
1023
+ ]
1024
+ )
1025
+
1026
+ # validate the arguments
1027
+ for _key, _val in _params['kwargs'].items():
1028
+ if _key not in _all_params:
1029
+ raise ApiTypeError(
1030
+ "Got an unexpected keyword argument '%s'"
1031
+ " to method get_substitutions_by_player_id" % _key
1032
+ )
1033
+ _params[_key] = _val
1034
+ del _params['kwargs']
1035
+
1036
+ _collection_formats = {}
1037
+
1038
+ # process the path parameters
1039
+ _path_params = {}
1040
+ if _params['player_id'] is not None:
1041
+ _path_params['playerId'] = _params['player_id']
1042
+
1043
+
1044
+ # process the query parameters
1045
+ _query_params = []
1046
+ if _params.get('season') is not None: # noqa: E501
1047
+ _query_params.append(('season', _params['season']))
1048
+
1049
+ # process the header parameters
1050
+ _header_params = dict(_params.get('_headers', {}))
1051
+ # process the form parameters
1052
+ _form_params = []
1053
+ _files = {}
1054
+ # process the body parameter
1055
+ _body_params = None
1056
+ # set the HTTP header `Accept`
1057
+ _header_params['Accept'] = self.api_client.select_header_accept(
1058
+ ['application/json']) # noqa: E501
1059
+
1060
+ # authentication setting
1061
+ _auth_settings = ['apiKey'] # noqa: E501
1062
+
1063
+ _response_types_map = {
1064
+ '200': "List[PlayerSubsititution]",
1065
+ }
1066
+
1067
+ return self.api_client.call_api(
1068
+ '/substitutions/player/{playerId}', 'GET',
1069
+ _path_params,
1070
+ _query_params,
1071
+ _header_params,
1072
+ body=_body_params,
1073
+ post_params=_form_params,
1074
+ files=_files,
1075
+ response_types_map=_response_types_map,
1076
+ auth_settings=_auth_settings,
1077
+ async_req=_params.get('async_req'),
1078
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1079
+ _preload_content=_params.get('_preload_content', True),
1080
+ _request_timeout=_params.get('_request_timeout'),
1081
+ collection_formats=_collection_formats,
1082
+ _request_auth=_params.get('_request_auth'))
1083
+
1084
+ @validate_arguments
1085
+ def get_substitutions_by_team(self, season : Annotated[StrictInt, Field(..., description="Required season filter")], team : Annotated[StrictStr, Field(..., description="Required team filter")], **kwargs) -> List[PlayerSubsititution]: # noqa: E501
1086
+ """get_substitutions_by_team # noqa: E501
1087
+
1088
+ Retrieve all player substitutions for a given team and season # noqa: E501
1089
+ This method makes a synchronous HTTP request by default. To make an
1090
+ asynchronous HTTP request, please pass async_req=True
1091
+
1092
+ >>> thread = api.get_substitutions_by_team(season, team, async_req=True)
1093
+ >>> result = thread.get()
1094
+
1095
+ :param season: Required season filter (required)
1096
+ :type season: int
1097
+ :param team: Required team filter (required)
1098
+ :type team: str
1099
+ :param async_req: Whether to execute the request asynchronously.
1100
+ :type async_req: bool, optional
1101
+ :param _request_timeout: timeout setting for this request.
1102
+ If one number provided, it will be total request
1103
+ timeout. It can also be a pair (tuple) of
1104
+ (connection, read) timeouts.
1105
+ :return: Returns the result object.
1106
+ If the method is called asynchronously,
1107
+ returns the request thread.
1108
+ :rtype: List[PlayerSubsititution]
1109
+ """
1110
+ kwargs['_return_http_data_only'] = True
1111
+ if '_preload_content' in kwargs:
1112
+ message = "Error! Please call the get_substitutions_by_team_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
1113
+ raise ValueError(message)
1114
+ return self.get_substitutions_by_team_with_http_info(season, team, **kwargs) # noqa: E501
1115
+
1116
+ @validate_arguments
1117
+ def get_substitutions_by_team_with_http_info(self, season : Annotated[StrictInt, Field(..., description="Required season filter")], team : Annotated[StrictStr, Field(..., description="Required team filter")], **kwargs) -> ApiResponse: # noqa: E501
1118
+ """get_substitutions_by_team # noqa: E501
1119
+
1120
+ Retrieve all player substitutions for a given team and season # noqa: E501
1121
+ This method makes a synchronous HTTP request by default. To make an
1122
+ asynchronous HTTP request, please pass async_req=True
1123
+
1124
+ >>> thread = api.get_substitutions_by_team_with_http_info(season, team, async_req=True)
1125
+ >>> result = thread.get()
1126
+
1127
+ :param season: Required season filter (required)
1128
+ :type season: int
1129
+ :param team: Required team filter (required)
1130
+ :type team: str
1131
+ :param async_req: Whether to execute the request asynchronously.
1132
+ :type async_req: bool, optional
1133
+ :param _preload_content: if False, the ApiResponse.data will
1134
+ be set to none and raw_data will store the
1135
+ HTTP response body without reading/decoding.
1136
+ Default is True.
1137
+ :type _preload_content: bool, optional
1138
+ :param _return_http_data_only: response data instead of ApiResponse
1139
+ object with status code, headers, etc
1140
+ :type _return_http_data_only: bool, optional
1141
+ :param _request_timeout: timeout setting for this request. If one
1142
+ number provided, it will be total request
1143
+ timeout. It can also be a pair (tuple) of
1144
+ (connection, read) timeouts.
1145
+ :param _request_auth: set to override the auth_settings for an a single
1146
+ request; this effectively ignores the authentication
1147
+ in the spec for a single request.
1148
+ :type _request_auth: dict, optional
1149
+ :type _content_type: string, optional: force content-type for the request
1150
+ :return: Returns the result object.
1151
+ If the method is called asynchronously,
1152
+ returns the request thread.
1153
+ :rtype: tuple(List[PlayerSubsititution], status_code(int), headers(HTTPHeaderDict))
1154
+ """
1155
+
1156
+ _params = locals()
1157
+
1158
+ _all_params = [
1159
+ 'season',
1160
+ 'team'
1161
+ ]
1162
+ _all_params.extend(
1163
+ [
1164
+ 'async_req',
1165
+ '_return_http_data_only',
1166
+ '_preload_content',
1167
+ '_request_timeout',
1168
+ '_request_auth',
1169
+ '_content_type',
1170
+ '_headers'
1171
+ ]
1172
+ )
1173
+
1174
+ # validate the arguments
1175
+ for _key, _val in _params['kwargs'].items():
1176
+ if _key not in _all_params:
1177
+ raise ApiTypeError(
1178
+ "Got an unexpected keyword argument '%s'"
1179
+ " to method get_substitutions_by_team" % _key
1180
+ )
1181
+ _params[_key] = _val
1182
+ del _params['kwargs']
1183
+
1184
+ _collection_formats = {}
1185
+
1186
+ # process the path parameters
1187
+ _path_params = {}
1188
+
1189
+ # process the query parameters
1190
+ _query_params = []
1191
+ if _params.get('season') is not None: # noqa: E501
1192
+ _query_params.append(('season', _params['season']))
1193
+
1194
+ if _params.get('team') is not None: # noqa: E501
1195
+ _query_params.append(('team', _params['team']))
1196
+
1197
+ # process the header parameters
1198
+ _header_params = dict(_params.get('_headers', {}))
1199
+ # process the form parameters
1200
+ _form_params = []
1201
+ _files = {}
1202
+ # process the body parameter
1203
+ _body_params = None
1204
+ # set the HTTP header `Accept`
1205
+ _header_params['Accept'] = self.api_client.select_header_accept(
1206
+ ['application/json']) # noqa: E501
1207
+
1208
+ # authentication setting
1209
+ _auth_settings = ['apiKey'] # noqa: E501
1210
+
1211
+ _response_types_map = {
1212
+ '200': "List[PlayerSubsititution]",
1213
+ }
1214
+
1215
+ return self.api_client.call_api(
1216
+ '/substitutions/team', 'GET',
1217
+ _path_params,
1218
+ _query_params,
1219
+ _header_params,
1220
+ body=_body_params,
1221
+ post_params=_form_params,
1222
+ files=_files,
1223
+ response_types_map=_response_types_map,
1224
+ auth_settings=_auth_settings,
1225
+ async_req=_params.get('async_req'),
1226
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
1227
+ _preload_content=_params.get('_preload_content', True),
1228
+ _request_timeout=_params.get('_request_timeout'),
1229
+ collection_formats=_collection_formats,
1230
+ _request_auth=_params.get('_request_auth'))
cbbd/api/rankings_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api/ratings_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  This API is in limited Beta for Patreon subscribers. It may have bugs and is subject to changes. API keys can be acquired from the CollegeFootballData.com website.
7
7
 
8
- The version of the OpenAPI document: 1.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api/stats_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api/teams_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api/venues_api.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/api_client.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -78,7 +78,7 @@ class ApiClient:
78
78
  self.default_headers[header_name] = header_value
79
79
  self.cookie = cookie
80
80
  # Set default User-Agent.
81
- self.user_agent = 'OpenAPI-Generator/1.15.3/python'
81
+ self.user_agent = 'OpenAPI-Generator/1.16.0/python'
82
82
  self.client_side_validation = configuration.client_side_validation
83
83
 
84
84
  def __enter__(self):
@@ -546,7 +546,7 @@ class ApiClient:
546
546
  if k in collection_formats:
547
547
  collection_format = collection_formats[k]
548
548
  if collection_format == 'multi':
549
- new_params.extend((k, str(value)) for value in v)
549
+ new_params.extend((k, quote(str(value))) for value in v)
550
550
  else:
551
551
  if collection_format == 'ssv':
552
552
  delimiter = ' '
cbbd/configuration.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -376,8 +376,8 @@ class Configuration:
376
376
  return "Python SDK Debug Report:\n"\
377
377
  "OS: {env}\n"\
378
378
  "Python Version: {pyversion}\n"\
379
- "Version of the API: 1.15.3\n"\
380
- "SDK Package Version: 1.15.3".\
379
+ "Version of the API: 1.16.0\n"\
380
+ "SDK Package Version: 1.16.0".\
381
381
  format(env=sys.platform, pyversion=sys.version)
382
382
 
383
383
  def get_host_settings(self):
cbbd/exceptions.py CHANGED
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
cbbd/models/__init__.py CHANGED
@@ -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.15.3
9
+ The version of the OpenAPI document: 1.16.0
10
10
  Contact: admin@collegefootballdata.com
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -40,6 +40,8 @@ from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
40
40
  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
+ from cbbd.models.player_subsititution import PlayerSubsititution
44
+ from cbbd.models.player_subsititution_sub_in import PlayerSubsititutionSubIn
43
45
  from cbbd.models.poll_team_info import PollTeamInfo
44
46
  from cbbd.models.recruit import Recruit
45
47
  from cbbd.models.recruit_committed_to import RecruitCommittedTo
@@ -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.15.3
8
+ The version of the OpenAPI document: 1.16.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11