cbbd 1.1.3__tar.gz → 1.3.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. {cbbd-1.1.3 → cbbd-1.3.0}/PKG-INFO +1 -1
  2. {cbbd-1.1.3 → cbbd-1.3.0}/README.md +20 -7
  3. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/__init__.py +11 -2
  4. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api/__init__.py +1 -0
  5. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api/conferences_api.py +146 -2
  6. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api/games_api.py +1 -1
  7. cbbd-1.3.0/cbbd/api/lines_api.py +358 -0
  8. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api/plays_api.py +1 -1
  9. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api/stats_api.py +1 -1
  10. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api/teams_api.py +150 -1
  11. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api/venues_api.py +1 -1
  12. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api_client.py +2 -2
  13. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/configuration.py +3 -3
  14. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/exceptions.py +1 -1
  15. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/__init__.py +9 -1
  16. cbbd-1.3.0/cbbd/models/conference_history.py +90 -0
  17. cbbd-1.3.0/cbbd/models/conference_history_teams_inner.py +92 -0
  18. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/conference_info.py +1 -1
  19. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_box_score_players.py +1 -1
  20. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_box_score_players_players_inner.py +1 -1
  21. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_box_score_team.py +1 -1
  22. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_box_score_team_stats.py +1 -1
  23. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_box_score_team_stats_points.py +1 -1
  24. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_info.py +1 -1
  25. cbbd-1.3.0/cbbd/models/game_line_info.py +114 -0
  26. cbbd-1.3.0/cbbd/models/game_lines.py +125 -0
  27. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_media_info.py +1 -1
  28. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_media_info_broadcasts_inner.py +1 -1
  29. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/game_status.py +1 -1
  30. cbbd-1.3.0/cbbd/models/line_provider_info.py +74 -0
  31. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/play_info.py +1 -1
  32. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/play_info_participants_inner.py +1 -1
  33. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/play_type_info.py +1 -1
  34. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/player_season_stats.py +1 -1
  35. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/season_type.py +1 -1
  36. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_info.py +1 -1
  37. cbbd-1.3.0/cbbd/models/team_roster.py +95 -0
  38. cbbd-1.3.0/cbbd/models/team_roster_player.py +135 -0
  39. cbbd-1.3.0/cbbd/models/team_roster_player_hometown.py +91 -0
  40. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_season_stats.py +1 -1
  41. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats.py +1 -1
  42. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_field_goals.py +1 -1
  43. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_fouls.py +1 -1
  44. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_four_factors.py +1 -1
  45. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_points.py +1 -1
  46. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_rebounds.py +1 -1
  47. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_turnovers.py +1 -1
  48. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/models/venue_info.py +1 -1
  49. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/rest.py +1 -1
  50. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd.egg-info/PKG-INFO +1 -1
  51. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd.egg-info/SOURCES.txt +18 -0
  52. {cbbd-1.1.3 → cbbd-1.3.0}/pyproject.toml +1 -1
  53. {cbbd-1.1.3 → cbbd-1.3.0}/setup.py +2 -2
  54. cbbd-1.3.0/test/test_conference_history.py +80 -0
  55. cbbd-1.3.0/test/test_conference_history_teams_inner.py +64 -0
  56. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_conference_info.py +1 -1
  57. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_conferences_api.py +7 -1
  58. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_box_score_players.py +1 -1
  59. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_box_score_players_players_inner.py +1 -1
  60. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_box_score_team.py +1 -1
  61. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_box_score_team_stats.py +1 -1
  62. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_box_score_team_stats_points.py +1 -1
  63. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_info.py +1 -1
  64. cbbd-1.3.0/test/test_game_line_info.py +66 -0
  65. cbbd-1.3.0/test/test_game_lines.py +96 -0
  66. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_media_info.py +1 -1
  67. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_media_info_broadcasts_inner.py +1 -1
  68. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_game_status.py +1 -1
  69. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_games_api.py +1 -1
  70. cbbd-1.3.0/test/test_line_provider_info.py +56 -0
  71. cbbd-1.3.0/test/test_lines_api.py +44 -0
  72. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_play_info.py +1 -1
  73. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_play_info_participants_inner.py +1 -1
  74. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_play_type_info.py +1 -1
  75. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_player_season_stats.py +1 -1
  76. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_plays_api.py +1 -1
  77. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_season_type.py +1 -1
  78. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_stats_api.py +1 -1
  79. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_info.py +1 -1
  80. cbbd-1.3.0/test/test_team_roster.py +100 -0
  81. cbbd-1.3.0/test/test_team_roster_player.py +84 -0
  82. cbbd-1.3.0/test/test_team_roster_player_hometown.py +58 -0
  83. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_season_stats.py +1 -1
  84. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_season_unit_stats.py +1 -1
  85. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_season_unit_stats_field_goals.py +1 -1
  86. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_season_unit_stats_fouls.py +1 -1
  87. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_season_unit_stats_four_factors.py +1 -1
  88. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_season_unit_stats_points.py +1 -1
  89. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_season_unit_stats_rebounds.py +1 -1
  90. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_team_season_unit_stats_turnovers.py +1 -1
  91. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_teams_api.py +7 -1
  92. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_venue_info.py +1 -1
  93. {cbbd-1.1.3 → cbbd-1.3.0}/test/test_venues_api.py +1 -1
  94. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/api_response.py +0 -0
  95. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd/py.typed +0 -0
  96. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd.egg-info/dependency_links.txt +0 -0
  97. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd.egg-info/requires.txt +0 -0
  98. {cbbd-1.1.3 → cbbd-1.3.0}/cbbd.egg-info/top_level.txt +0 -0
  99. {cbbd-1.1.3 → cbbd-1.3.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cbbd
3
- Version: 1.1.3
3
+ Version: 1.3.0
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.1.3
7
- - Package version: 1.1.3
6
+ - API version: 1.3.0
7
+ - Package version: 1.3.0
8
8
  - Generator version: 7.11.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
10
10
 
@@ -16,9 +16,9 @@ Python 3.7+
16
16
  ### pip install
17
17
 
18
18
  ```sh
19
- pip install cbbd@1.1.3
19
+ pip install cbbd@1.3.0
20
20
  ```
21
- (you may need to run `pip` with root permission: `sudo pip install cbbd@1.1.3`)
21
+ (you may need to run `pip` with root permission: `sudo pip install cbbd@1.3.0`)
22
22
 
23
23
  Then import the package:
24
24
  ```python
@@ -57,13 +57,14 @@ configuration = cbbd.Configuration(
57
57
  with cbbd.ApiClient(configuration) as api_client:
58
58
  # Create an instance of the API class
59
59
  api_instance = cbbd.ConferencesApi(api_client)
60
+ conference = 'conference_example' # str | Optional conference abbreviation filter (optional)
60
61
 
61
62
  try:
62
- api_response = api_instance.get_conferences()
63
- print("The response of ConferencesApi->get_conferences:\n")
63
+ api_response = api_instance.get_conference_history(conference=conference)
64
+ print("The response of ConferencesApi->get_conference_history:\n")
64
65
  pprint(api_response)
65
66
  except ApiException as e:
66
- print("Exception when calling ConferencesApi->get_conferences: %s\n" % e)
67
+ print("Exception when calling ConferencesApi->get_conference_history: %s\n" % e)
67
68
 
68
69
  ```
69
70
 
@@ -73,11 +74,14 @@ All URIs are relative to *https://api.collegebasketballdata.com*
73
74
 
74
75
  Class | Method | HTTP request | Description
75
76
  ------------ | ------------- | ------------- | -------------
77
+ *ConferencesApi* | [**get_conference_history**](docs/ConferencesApi.md#get_conference_history) | **GET** /conferences/history |
76
78
  *ConferencesApi* | [**get_conferences**](docs/ConferencesApi.md#get_conferences) | **GET** /conferences |
77
79
  *GamesApi* | [**get_broadcasts**](docs/GamesApi.md#get_broadcasts) | **GET** /games/media |
78
80
  *GamesApi* | [**get_game_players**](docs/GamesApi.md#get_game_players) | **GET** /games/players |
79
81
  *GamesApi* | [**get_game_teams**](docs/GamesApi.md#get_game_teams) | **GET** /games/teams |
80
82
  *GamesApi* | [**get_games**](docs/GamesApi.md#get_games) | **GET** /games |
83
+ *LinesApi* | [**get_lines**](docs/LinesApi.md#get_lines) | **GET** /lines |
84
+ *LinesApi* | [**get_providers**](docs/LinesApi.md#get_providers) | **GET** /lines/providers |
81
85
  *PlaysApi* | [**get_play_types**](docs/PlaysApi.md#get_play_types) | **GET** /plays/types |
82
86
  *PlaysApi* | [**get_plays**](docs/PlaysApi.md#get_plays) | **GET** /plays/game/{gameId} |
83
87
  *PlaysApi* | [**get_plays_by_date**](docs/PlaysApi.md#get_plays_by_date) | **GET** /plays/date |
@@ -85,12 +89,15 @@ Class | Method | HTTP request | Description
85
89
  *PlaysApi* | [**get_plays_by_team**](docs/PlaysApi.md#get_plays_by_team) | **GET** /plays/team |
86
90
  *StatsApi* | [**get_player_season_stats**](docs/StatsApi.md#get_player_season_stats) | **GET** /stats/player/season |
87
91
  *StatsApi* | [**get_team_season_stats**](docs/StatsApi.md#get_team_season_stats) | **GET** /stats/team/season |
92
+ *TeamsApi* | [**get_team_roster**](docs/TeamsApi.md#get_team_roster) | **GET** /teams/roster |
88
93
  *TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /teams |
89
94
  *VenuesApi* | [**get_venues**](docs/VenuesApi.md#get_venues) | **GET** /venues |
90
95
 
91
96
 
92
97
  ## Documentation For Models
93
98
 
99
+ - [ConferenceHistory](docs/ConferenceHistory.md)
100
+ - [ConferenceHistoryTeamsInner](docs/ConferenceHistoryTeamsInner.md)
94
101
  - [ConferenceInfo](docs/ConferenceInfo.md)
95
102
  - [GameBoxScorePlayers](docs/GameBoxScorePlayers.md)
96
103
  - [GameBoxScorePlayersPlayersInner](docs/GameBoxScorePlayersPlayersInner.md)
@@ -98,15 +105,21 @@ Class | Method | HTTP request | Description
98
105
  - [GameBoxScoreTeamStats](docs/GameBoxScoreTeamStats.md)
99
106
  - [GameBoxScoreTeamStatsPoints](docs/GameBoxScoreTeamStatsPoints.md)
100
107
  - [GameInfo](docs/GameInfo.md)
108
+ - [GameLineInfo](docs/GameLineInfo.md)
109
+ - [GameLines](docs/GameLines.md)
101
110
  - [GameMediaInfo](docs/GameMediaInfo.md)
102
111
  - [GameMediaInfoBroadcastsInner](docs/GameMediaInfoBroadcastsInner.md)
103
112
  - [GameStatus](docs/GameStatus.md)
113
+ - [LineProviderInfo](docs/LineProviderInfo.md)
104
114
  - [PlayInfo](docs/PlayInfo.md)
105
115
  - [PlayInfoParticipantsInner](docs/PlayInfoParticipantsInner.md)
106
116
  - [PlayTypeInfo](docs/PlayTypeInfo.md)
107
117
  - [PlayerSeasonStats](docs/PlayerSeasonStats.md)
108
118
  - [SeasonType](docs/SeasonType.md)
109
119
  - [TeamInfo](docs/TeamInfo.md)
120
+ - [TeamRoster](docs/TeamRoster.md)
121
+ - [TeamRosterPlayer](docs/TeamRosterPlayer.md)
122
+ - [TeamRosterPlayerHometown](docs/TeamRosterPlayerHometown.md)
110
123
  - [TeamSeasonStats](docs/TeamSeasonStats.md)
111
124
  - [TeamSeasonUnitStats](docs/TeamSeasonUnitStats.md)
112
125
  - [TeamSeasonUnitStatsFieldGoals](docs/TeamSeasonUnitStatsFieldGoals.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.1.3
10
+ The version of the OpenAPI document: 1.3.0
11
11
  Contact: admin@collegefootballdata.com
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -15,11 +15,12 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "1.1.3"
18
+ __version__ = "1.3.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from cbbd.api.conferences_api import ConferencesApi
22
22
  from cbbd.api.games_api import GamesApi
23
+ from cbbd.api.lines_api import LinesApi
23
24
  from cbbd.api.plays_api import PlaysApi
24
25
  from cbbd.api.stats_api import StatsApi
25
26
  from cbbd.api.teams_api import TeamsApi
@@ -37,6 +38,8 @@ from cbbd.exceptions import ApiAttributeError
37
38
  from cbbd.exceptions import ApiException
38
39
 
39
40
  # import models into sdk package
41
+ from cbbd.models.conference_history import ConferenceHistory
42
+ from cbbd.models.conference_history_teams_inner import ConferenceHistoryTeamsInner
40
43
  from cbbd.models.conference_info import ConferenceInfo
41
44
  from cbbd.models.game_box_score_players import GameBoxScorePlayers
42
45
  from cbbd.models.game_box_score_players_players_inner import GameBoxScorePlayersPlayersInner
@@ -44,15 +47,21 @@ from cbbd.models.game_box_score_team import GameBoxScoreTeam
44
47
  from cbbd.models.game_box_score_team_stats import GameBoxScoreTeamStats
45
48
  from cbbd.models.game_box_score_team_stats_points import GameBoxScoreTeamStatsPoints
46
49
  from cbbd.models.game_info import GameInfo
50
+ from cbbd.models.game_line_info import GameLineInfo
51
+ from cbbd.models.game_lines import GameLines
47
52
  from cbbd.models.game_media_info import GameMediaInfo
48
53
  from cbbd.models.game_media_info_broadcasts_inner import GameMediaInfoBroadcastsInner
49
54
  from cbbd.models.game_status import GameStatus
55
+ from cbbd.models.line_provider_info import LineProviderInfo
50
56
  from cbbd.models.play_info import PlayInfo
51
57
  from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
52
58
  from cbbd.models.play_type_info import PlayTypeInfo
53
59
  from cbbd.models.player_season_stats import PlayerSeasonStats
54
60
  from cbbd.models.season_type import SeasonType
55
61
  from cbbd.models.team_info import TeamInfo
62
+ from cbbd.models.team_roster import TeamRoster
63
+ from cbbd.models.team_roster_player import TeamRosterPlayer
64
+ from cbbd.models.team_roster_player_hometown import TeamRosterPlayerHometown
56
65
  from cbbd.models.team_season_stats import TeamSeasonStats
57
66
  from cbbd.models.team_season_unit_stats import TeamSeasonUnitStats
58
67
  from cbbd.models.team_season_unit_stats_field_goals import TeamSeasonUnitStatsFieldGoals
@@ -3,6 +3,7 @@
3
3
  # import apis into api package
4
4
  from cbbd.api.conferences_api import ConferencesApi
5
5
  from cbbd.api.games_api import GamesApi
6
+ from cbbd.api.lines_api import LinesApi
6
7
  from cbbd.api.plays_api import PlaysApi
7
8
  from cbbd.api.stats_api import StatsApi
8
9
  from cbbd.api.teams_api import TeamsApi
@@ -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.1.3
8
+ The version of the OpenAPI document: 1.3.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -19,8 +19,12 @@ import warnings
19
19
 
20
20
  from pydantic import validate_arguments, ValidationError
21
21
 
22
- from typing import List
22
+ from typing_extensions import Annotated
23
+ from pydantic import Field, StrictStr
23
24
 
25
+ from typing import List, Optional
26
+
27
+ from cbbd.models.conference_history import ConferenceHistory
24
28
  from cbbd.models.conference_info import ConferenceInfo
25
29
 
26
30
  from cbbd.api_client import ApiClient
@@ -43,6 +47,146 @@ class ConferencesApi:
43
47
  api_client = ApiClient.get_default()
44
48
  self.api_client = api_client
45
49
 
50
+ @validate_arguments
51
+ def get_conference_history(self, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, **kwargs) -> List[ConferenceHistory]: # noqa: E501
52
+ """get_conference_history # noqa: E501
53
+
54
+ Retrieves historical conference membership information # noqa: E501
55
+ This method makes a synchronous HTTP request by default. To make an
56
+ asynchronous HTTP request, please pass async_req=True
57
+
58
+ >>> thread = api.get_conference_history(conference, async_req=True)
59
+ >>> result = thread.get()
60
+
61
+ :param conference: Optional conference abbreviation filter
62
+ :type conference: str
63
+ :param async_req: Whether to execute the request asynchronously.
64
+ :type async_req: bool, optional
65
+ :param _request_timeout: timeout setting for this request.
66
+ If one number provided, it will be total request
67
+ timeout. It can also be a pair (tuple) of
68
+ (connection, read) timeouts.
69
+ :return: Returns the result object.
70
+ If the method is called asynchronously,
71
+ returns the request thread.
72
+ :rtype: List[ConferenceHistory]
73
+ """
74
+ kwargs['_return_http_data_only'] = True
75
+ if '_preload_content' in kwargs:
76
+ message = "Error! Please call the get_conference_history_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
77
+ raise ValueError(message)
78
+ return self.get_conference_history_with_http_info(conference, **kwargs) # noqa: E501
79
+
80
+ @validate_arguments
81
+ def get_conference_history_with_http_info(self, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, **kwargs) -> ApiResponse: # noqa: E501
82
+ """get_conference_history # noqa: E501
83
+
84
+ Retrieves historical conference membership information # noqa: E501
85
+ This method makes a synchronous HTTP request by default. To make an
86
+ asynchronous HTTP request, please pass async_req=True
87
+
88
+ >>> thread = api.get_conference_history_with_http_info(conference, async_req=True)
89
+ >>> result = thread.get()
90
+
91
+ :param conference: Optional conference abbreviation filter
92
+ :type conference: str
93
+ :param async_req: Whether to execute the request asynchronously.
94
+ :type async_req: bool, optional
95
+ :param _preload_content: if False, the ApiResponse.data will
96
+ be set to none and raw_data will store the
97
+ HTTP response body without reading/decoding.
98
+ Default is True.
99
+ :type _preload_content: bool, optional
100
+ :param _return_http_data_only: response data instead of ApiResponse
101
+ object with status code, headers, etc
102
+ :type _return_http_data_only: bool, optional
103
+ :param _request_timeout: timeout setting for this request. If one
104
+ number provided, it will be total request
105
+ timeout. It can also be a pair (tuple) of
106
+ (connection, read) timeouts.
107
+ :param _request_auth: set to override the auth_settings for an a single
108
+ request; this effectively ignores the authentication
109
+ in the spec for a single request.
110
+ :type _request_auth: dict, optional
111
+ :type _content_type: string, optional: force content-type for the request
112
+ :return: Returns the result object.
113
+ If the method is called asynchronously,
114
+ returns the request thread.
115
+ :rtype: tuple(List[ConferenceHistory], status_code(int), headers(HTTPHeaderDict))
116
+ """
117
+
118
+ _params = locals()
119
+
120
+ _all_params = [
121
+ 'conference'
122
+ ]
123
+ _all_params.extend(
124
+ [
125
+ 'async_req',
126
+ '_return_http_data_only',
127
+ '_preload_content',
128
+ '_request_timeout',
129
+ '_request_auth',
130
+ '_content_type',
131
+ '_headers'
132
+ ]
133
+ )
134
+
135
+ # validate the arguments
136
+ for _key, _val in _params['kwargs'].items():
137
+ if _key not in _all_params:
138
+ raise ApiTypeError(
139
+ "Got an unexpected keyword argument '%s'"
140
+ " to method get_conference_history" % _key
141
+ )
142
+ _params[_key] = _val
143
+ del _params['kwargs']
144
+
145
+ _collection_formats = {}
146
+
147
+ # process the path parameters
148
+ _path_params = {}
149
+
150
+ # process the query parameters
151
+ _query_params = []
152
+ if _params.get('conference') is not None: # noqa: E501
153
+ _query_params.append(('conference', _params['conference']))
154
+
155
+ # process the header parameters
156
+ _header_params = dict(_params.get('_headers', {}))
157
+ # process the form parameters
158
+ _form_params = []
159
+ _files = {}
160
+ # process the body parameter
161
+ _body_params = None
162
+ # set the HTTP header `Accept`
163
+ _header_params['Accept'] = self.api_client.select_header_accept(
164
+ ['application/json']) # noqa: E501
165
+
166
+ # authentication setting
167
+ _auth_settings = ['apiKey'] # noqa: E501
168
+
169
+ _response_types_map = {
170
+ '200': "List[ConferenceHistory]",
171
+ }
172
+
173
+ return self.api_client.call_api(
174
+ '/conferences/history', 'GET',
175
+ _path_params,
176
+ _query_params,
177
+ _header_params,
178
+ body=_body_params,
179
+ post_params=_form_params,
180
+ files=_files,
181
+ response_types_map=_response_types_map,
182
+ auth_settings=_auth_settings,
183
+ async_req=_params.get('async_req'),
184
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
185
+ _preload_content=_params.get('_preload_content', True),
186
+ _request_timeout=_params.get('_request_timeout'),
187
+ collection_formats=_collection_formats,
188
+ _request_auth=_params.get('_request_auth'))
189
+
46
190
  @validate_arguments
47
191
  def get_conferences(self, **kwargs) -> List[ConferenceInfo]: # noqa: E501
48
192
  """get_conferences # noqa: E501
@@ -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.1.3
8
+ The version of the OpenAPI document: 1.3.0
9
9
  Contact: admin@collegefootballdata.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11