cbbd 1.2.0__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.2.0 → cbbd-1.3.0}/PKG-INFO +1 -1
  2. {cbbd-1.2.0 → cbbd-1.3.0}/README.md +9 -4
  3. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/__init__.py +6 -2
  4. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/api/__init__.py +1 -0
  5. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/api/conferences_api.py +1 -1
  6. {cbbd-1.2.0 → 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.2.0 → cbbd-1.3.0}/cbbd/api/plays_api.py +1 -1
  9. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/api/stats_api.py +1 -1
  10. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/api/teams_api.py +1 -1
  11. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/api/venues_api.py +1 -1
  12. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/api_client.py +2 -2
  13. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/configuration.py +3 -3
  14. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/exceptions.py +1 -1
  15. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/__init__.py +4 -1
  16. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/conference_history.py +1 -1
  17. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/conference_history_teams_inner.py +1 -1
  18. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/conference_info.py +1 -1
  19. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/game_box_score_players.py +1 -1
  20. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/game_box_score_players_players_inner.py +1 -1
  21. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/game_box_score_team.py +1 -1
  22. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/game_box_score_team_stats.py +1 -1
  23. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/game_box_score_team_stats_points.py +1 -1
  24. {cbbd-1.2.0 → 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.2.0 → cbbd-1.3.0}/cbbd/models/game_media_info.py +1 -1
  28. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/game_media_info_broadcasts_inner.py +1 -1
  29. {cbbd-1.2.0 → 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.2.0 → cbbd-1.3.0}/cbbd/models/play_info.py +1 -1
  32. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/play_info_participants_inner.py +1 -1
  33. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/play_type_info.py +1 -1
  34. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/player_season_stats.py +1 -1
  35. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/season_type.py +1 -1
  36. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_info.py +1 -1
  37. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_roster.py +1 -1
  38. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_roster_player.py +1 -1
  39. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_roster_player_hometown.py +1 -1
  40. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_season_stats.py +1 -1
  41. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats.py +1 -1
  42. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_field_goals.py +1 -1
  43. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_fouls.py +1 -1
  44. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_four_factors.py +1 -1
  45. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_points.py +1 -1
  46. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_rebounds.py +1 -1
  47. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/team_season_unit_stats_turnovers.py +1 -1
  48. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/models/venue_info.py +1 -1
  49. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/rest.py +1 -1
  50. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd.egg-info/PKG-INFO +1 -1
  51. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd.egg-info/SOURCES.txt +8 -0
  52. {cbbd-1.2.0 → cbbd-1.3.0}/pyproject.toml +1 -1
  53. {cbbd-1.2.0 → cbbd-1.3.0}/setup.py +2 -2
  54. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_conference_history.py +1 -1
  55. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_conference_history_teams_inner.py +1 -1
  56. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_conference_info.py +1 -1
  57. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_conferences_api.py +1 -1
  58. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_game_box_score_players.py +1 -1
  59. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_game_box_score_players_players_inner.py +1 -1
  60. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_game_box_score_team.py +1 -1
  61. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_game_box_score_team_stats.py +1 -1
  62. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_game_box_score_team_stats_points.py +1 -1
  63. {cbbd-1.2.0 → 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.2.0 → cbbd-1.3.0}/test/test_game_media_info.py +1 -1
  67. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_game_media_info_broadcasts_inner.py +1 -1
  68. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_game_status.py +1 -1
  69. {cbbd-1.2.0 → 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.2.0 → cbbd-1.3.0}/test/test_play_info.py +1 -1
  73. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_play_info_participants_inner.py +1 -1
  74. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_play_type_info.py +1 -1
  75. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_player_season_stats.py +1 -1
  76. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_plays_api.py +1 -1
  77. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_season_type.py +1 -1
  78. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_stats_api.py +1 -1
  79. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_info.py +1 -1
  80. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_roster.py +1 -1
  81. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_roster_player.py +1 -1
  82. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_roster_player_hometown.py +1 -1
  83. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_season_stats.py +1 -1
  84. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_season_unit_stats.py +1 -1
  85. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_season_unit_stats_field_goals.py +1 -1
  86. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_season_unit_stats_fouls.py +1 -1
  87. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_season_unit_stats_four_factors.py +1 -1
  88. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_season_unit_stats_points.py +1 -1
  89. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_season_unit_stats_rebounds.py +1 -1
  90. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_team_season_unit_stats_turnovers.py +1 -1
  91. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_teams_api.py +1 -1
  92. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_venue_info.py +1 -1
  93. {cbbd-1.2.0 → cbbd-1.3.0}/test/test_venues_api.py +1 -1
  94. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/api_response.py +0 -0
  95. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd/py.typed +0 -0
  96. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd.egg-info/dependency_links.txt +0 -0
  97. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd.egg-info/requires.txt +0 -0
  98. {cbbd-1.2.0 → cbbd-1.3.0}/cbbd.egg-info/top_level.txt +0 -0
  99. {cbbd-1.2.0 → 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.2.0
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.2.0
7
- - Package version: 1.2.0
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.2.0
19
+ pip install cbbd@1.3.0
20
20
  ```
21
- (you may need to run `pip` with root permission: `sudo pip install cbbd@1.2.0`)
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
@@ -80,6 +80,8 @@ Class | Method | HTTP request | Description
80
80
  *GamesApi* | [**get_game_players**](docs/GamesApi.md#get_game_players) | **GET** /games/players |
81
81
  *GamesApi* | [**get_game_teams**](docs/GamesApi.md#get_game_teams) | **GET** /games/teams |
82
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 |
83
85
  *PlaysApi* | [**get_play_types**](docs/PlaysApi.md#get_play_types) | **GET** /plays/types |
84
86
  *PlaysApi* | [**get_plays**](docs/PlaysApi.md#get_plays) | **GET** /plays/game/{gameId} |
85
87
  *PlaysApi* | [**get_plays_by_date**](docs/PlaysApi.md#get_plays_by_date) | **GET** /plays/date |
@@ -103,9 +105,12 @@ Class | Method | HTTP request | Description
103
105
  - [GameBoxScoreTeamStats](docs/GameBoxScoreTeamStats.md)
104
106
  - [GameBoxScoreTeamStatsPoints](docs/GameBoxScoreTeamStatsPoints.md)
105
107
  - [GameInfo](docs/GameInfo.md)
108
+ - [GameLineInfo](docs/GameLineInfo.md)
109
+ - [GameLines](docs/GameLines.md)
106
110
  - [GameMediaInfo](docs/GameMediaInfo.md)
107
111
  - [GameMediaInfoBroadcastsInner](docs/GameMediaInfoBroadcastsInner.md)
108
112
  - [GameStatus](docs/GameStatus.md)
113
+ - [LineProviderInfo](docs/LineProviderInfo.md)
109
114
  - [PlayInfo](docs/PlayInfo.md)
110
115
  - [PlayInfoParticipantsInner](docs/PlayInfoParticipantsInner.md)
111
116
  - [PlayTypeInfo](docs/PlayTypeInfo.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.2.0
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.2.0"
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
@@ -46,9 +47,12 @@ from cbbd.models.game_box_score_team import GameBoxScoreTeam
46
47
  from cbbd.models.game_box_score_team_stats import GameBoxScoreTeamStats
47
48
  from cbbd.models.game_box_score_team_stats_points import GameBoxScoreTeamStatsPoints
48
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
49
52
  from cbbd.models.game_media_info import GameMediaInfo
50
53
  from cbbd.models.game_media_info_broadcasts_inner import GameMediaInfoBroadcastsInner
51
54
  from cbbd.models.game_status import GameStatus
55
+ from cbbd.models.line_provider_info import LineProviderInfo
52
56
  from cbbd.models.play_info import PlayInfo
53
57
  from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
54
58
  from cbbd.models.play_type_info import PlayTypeInfo
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -0,0 +1,358 @@
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.3.0
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 datetime import datetime
24
+
25
+ from pydantic import Field, StrictInt, StrictStr
26
+
27
+ from typing import List, Optional
28
+
29
+ from cbbd.models.game_lines import GameLines
30
+ from cbbd.models.line_provider_info import LineProviderInfo
31
+
32
+ from cbbd.api_client import ApiClient
33
+ from cbbd.api_response import ApiResponse
34
+ from cbbd.exceptions import ( # noqa: F401
35
+ ApiTypeError,
36
+ ApiValueError
37
+ )
38
+
39
+
40
+ class LinesApi:
41
+ """NOTE: This class is auto generated by OpenAPI Generator
42
+ Ref: https://openapi-generator.tech
43
+
44
+ Do not edit the class manually.
45
+ """
46
+
47
+ def __init__(self, api_client=None) -> None:
48
+ if api_client is None:
49
+ api_client = ApiClient.get_default()
50
+ self.api_client = api_client
51
+
52
+ @validate_arguments
53
+ def get_lines(self, season : Annotated[Optional[StrictInt], Field(description="Optional season filter")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, **kwargs) -> List[GameLines]: # noqa: E501
54
+ """get_lines # noqa: E501
55
+
56
+ Returns betting lines for the first 3000 games that match the provided filters, ordered by start date. # noqa: E501
57
+ This method makes a synchronous HTTP request by default. To make an
58
+ asynchronous HTTP request, please pass async_req=True
59
+
60
+ >>> thread = api.get_lines(season, team, conference, start_date_range, end_date_range, async_req=True)
61
+ >>> result = thread.get()
62
+
63
+ :param season: Optional season filter
64
+ :type season: int
65
+ :param team: Optional team name filter
66
+ :type team: str
67
+ :param conference: Optional conference abbreviation filter
68
+ :type conference: str
69
+ :param start_date_range: Optional start timestamp in ISO 8601 format
70
+ :type start_date_range: datetime
71
+ :param end_date_range: Optional end timestamp in ISO 8601 format
72
+ :type end_date_range: datetime
73
+ :param async_req: Whether to execute the request asynchronously.
74
+ :type async_req: bool, optional
75
+ :param _request_timeout: timeout setting for this request.
76
+ If one number provided, it will be total request
77
+ timeout. It can also be a pair (tuple) of
78
+ (connection, read) timeouts.
79
+ :return: Returns the result object.
80
+ If the method is called asynchronously,
81
+ returns the request thread.
82
+ :rtype: List[GameLines]
83
+ """
84
+ kwargs['_return_http_data_only'] = True
85
+ if '_preload_content' in kwargs:
86
+ message = "Error! Please call the get_lines_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
87
+ raise ValueError(message)
88
+ return self.get_lines_with_http_info(season, team, conference, start_date_range, end_date_range, **kwargs) # noqa: E501
89
+
90
+ @validate_arguments
91
+ def get_lines_with_http_info(self, season : Annotated[Optional[StrictInt], Field(description="Optional season filter")] = None, team : Annotated[Optional[StrictStr], Field(description="Optional team name filter")] = None, conference : Annotated[Optional[StrictStr], Field(description="Optional conference abbreviation filter")] = None, start_date_range : Annotated[Optional[datetime], Field(description="Optional start timestamp in ISO 8601 format")] = None, end_date_range : Annotated[Optional[datetime], Field(description="Optional end timestamp in ISO 8601 format")] = None, **kwargs) -> ApiResponse: # noqa: E501
92
+ """get_lines # noqa: E501
93
+
94
+ Returns betting lines for the first 3000 games that match the provided filters, ordered by start date. # noqa: E501
95
+ This method makes a synchronous HTTP request by default. To make an
96
+ asynchronous HTTP request, please pass async_req=True
97
+
98
+ >>> thread = api.get_lines_with_http_info(season, team, conference, start_date_range, end_date_range, async_req=True)
99
+ >>> result = thread.get()
100
+
101
+ :param season: Optional season filter
102
+ :type season: int
103
+ :param team: Optional team name filter
104
+ :type team: str
105
+ :param conference: Optional conference abbreviation filter
106
+ :type conference: str
107
+ :param start_date_range: Optional start timestamp in ISO 8601 format
108
+ :type start_date_range: datetime
109
+ :param end_date_range: Optional end timestamp in ISO 8601 format
110
+ :type end_date_range: datetime
111
+ :param async_req: Whether to execute the request asynchronously.
112
+ :type async_req: bool, optional
113
+ :param _preload_content: if False, the ApiResponse.data will
114
+ be set to none and raw_data will store the
115
+ HTTP response body without reading/decoding.
116
+ Default is True.
117
+ :type _preload_content: bool, optional
118
+ :param _return_http_data_only: response data instead of ApiResponse
119
+ object with status code, headers, etc
120
+ :type _return_http_data_only: bool, optional
121
+ :param _request_timeout: timeout setting for this request. If one
122
+ number provided, it will be total request
123
+ timeout. It can also be a pair (tuple) of
124
+ (connection, read) timeouts.
125
+ :param _request_auth: set to override the auth_settings for an a single
126
+ request; this effectively ignores the authentication
127
+ in the spec for a single request.
128
+ :type _request_auth: dict, optional
129
+ :type _content_type: string, optional: force content-type for the request
130
+ :return: Returns the result object.
131
+ If the method is called asynchronously,
132
+ returns the request thread.
133
+ :rtype: tuple(List[GameLines], status_code(int), headers(HTTPHeaderDict))
134
+ """
135
+
136
+ _params = locals()
137
+
138
+ _all_params = [
139
+ 'season',
140
+ 'team',
141
+ 'conference',
142
+ 'start_date_range',
143
+ 'end_date_range'
144
+ ]
145
+ _all_params.extend(
146
+ [
147
+ 'async_req',
148
+ '_return_http_data_only',
149
+ '_preload_content',
150
+ '_request_timeout',
151
+ '_request_auth',
152
+ '_content_type',
153
+ '_headers'
154
+ ]
155
+ )
156
+
157
+ # validate the arguments
158
+ for _key, _val in _params['kwargs'].items():
159
+ if _key not in _all_params:
160
+ raise ApiTypeError(
161
+ "Got an unexpected keyword argument '%s'"
162
+ " to method get_lines" % _key
163
+ )
164
+ _params[_key] = _val
165
+ del _params['kwargs']
166
+
167
+ _collection_formats = {}
168
+
169
+ # process the path parameters
170
+ _path_params = {}
171
+
172
+ # process the query parameters
173
+ _query_params = []
174
+ if _params.get('season') is not None: # noqa: E501
175
+ _query_params.append(('season', _params['season']))
176
+
177
+ if _params.get('team') is not None: # noqa: E501
178
+ _query_params.append(('team', _params['team']))
179
+
180
+ if _params.get('conference') is not None: # noqa: E501
181
+ _query_params.append(('conference', _params['conference']))
182
+
183
+ if _params.get('start_date_range') is not None: # noqa: E501
184
+ if isinstance(_params['start_date_range'], datetime):
185
+ _query_params.append(('startDateRange', _params['start_date_range'].strftime(self.api_client.configuration.datetime_format)))
186
+ else:
187
+ _query_params.append(('startDateRange', _params['start_date_range']))
188
+
189
+ if _params.get('end_date_range') is not None: # noqa: E501
190
+ if isinstance(_params['end_date_range'], datetime):
191
+ _query_params.append(('endDateRange', _params['end_date_range'].strftime(self.api_client.configuration.datetime_format)))
192
+ else:
193
+ _query_params.append(('endDateRange', _params['end_date_range']))
194
+
195
+ # process the header parameters
196
+ _header_params = dict(_params.get('_headers', {}))
197
+ # process the form parameters
198
+ _form_params = []
199
+ _files = {}
200
+ # process the body parameter
201
+ _body_params = None
202
+ # set the HTTP header `Accept`
203
+ _header_params['Accept'] = self.api_client.select_header_accept(
204
+ ['application/json']) # noqa: E501
205
+
206
+ # authentication setting
207
+ _auth_settings = ['apiKey'] # noqa: E501
208
+
209
+ _response_types_map = {
210
+ '200': "List[GameLines]",
211
+ }
212
+
213
+ return self.api_client.call_api(
214
+ '/lines', 'GET',
215
+ _path_params,
216
+ _query_params,
217
+ _header_params,
218
+ body=_body_params,
219
+ post_params=_form_params,
220
+ files=_files,
221
+ response_types_map=_response_types_map,
222
+ auth_settings=_auth_settings,
223
+ async_req=_params.get('async_req'),
224
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
225
+ _preload_content=_params.get('_preload_content', True),
226
+ _request_timeout=_params.get('_request_timeout'),
227
+ collection_formats=_collection_formats,
228
+ _request_auth=_params.get('_request_auth'))
229
+
230
+ @validate_arguments
231
+ def get_providers(self, **kwargs) -> List[LineProviderInfo]: # noqa: E501
232
+ """get_providers # noqa: E501
233
+
234
+ This method makes a synchronous HTTP request by default. To make an
235
+ asynchronous HTTP request, please pass async_req=True
236
+
237
+ >>> thread = api.get_providers(async_req=True)
238
+ >>> result = thread.get()
239
+
240
+ :param async_req: Whether to execute the request asynchronously.
241
+ :type async_req: bool, optional
242
+ :param _request_timeout: timeout setting for this request.
243
+ If one number provided, it will be total request
244
+ timeout. It can also be a pair (tuple) of
245
+ (connection, read) timeouts.
246
+ :return: Returns the result object.
247
+ If the method is called asynchronously,
248
+ returns the request thread.
249
+ :rtype: List[LineProviderInfo]
250
+ """
251
+ kwargs['_return_http_data_only'] = True
252
+ if '_preload_content' in kwargs:
253
+ message = "Error! Please call the get_providers_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
254
+ raise ValueError(message)
255
+ return self.get_providers_with_http_info(**kwargs) # noqa: E501
256
+
257
+ @validate_arguments
258
+ def get_providers_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501
259
+ """get_providers # noqa: E501
260
+
261
+ This method makes a synchronous HTTP request by default. To make an
262
+ asynchronous HTTP request, please pass async_req=True
263
+
264
+ >>> thread = api.get_providers_with_http_info(async_req=True)
265
+ >>> result = thread.get()
266
+
267
+ :param async_req: Whether to execute the request asynchronously.
268
+ :type async_req: bool, optional
269
+ :param _preload_content: if False, the ApiResponse.data will
270
+ be set to none and raw_data will store the
271
+ HTTP response body without reading/decoding.
272
+ Default is True.
273
+ :type _preload_content: bool, optional
274
+ :param _return_http_data_only: response data instead of ApiResponse
275
+ object with status code, headers, etc
276
+ :type _return_http_data_only: bool, optional
277
+ :param _request_timeout: timeout setting for this request. If one
278
+ number provided, it will be total request
279
+ timeout. It can also be a pair (tuple) of
280
+ (connection, read) timeouts.
281
+ :param _request_auth: set to override the auth_settings for an a single
282
+ request; this effectively ignores the authentication
283
+ in the spec for a single request.
284
+ :type _request_auth: dict, optional
285
+ :type _content_type: string, optional: force content-type for the request
286
+ :return: Returns the result object.
287
+ If the method is called asynchronously,
288
+ returns the request thread.
289
+ :rtype: tuple(List[LineProviderInfo], status_code(int), headers(HTTPHeaderDict))
290
+ """
291
+
292
+ _params = locals()
293
+
294
+ _all_params = [
295
+ ]
296
+ _all_params.extend(
297
+ [
298
+ 'async_req',
299
+ '_return_http_data_only',
300
+ '_preload_content',
301
+ '_request_timeout',
302
+ '_request_auth',
303
+ '_content_type',
304
+ '_headers'
305
+ ]
306
+ )
307
+
308
+ # validate the arguments
309
+ for _key, _val in _params['kwargs'].items():
310
+ if _key not in _all_params:
311
+ raise ApiTypeError(
312
+ "Got an unexpected keyword argument '%s'"
313
+ " to method get_providers" % _key
314
+ )
315
+ _params[_key] = _val
316
+ del _params['kwargs']
317
+
318
+ _collection_formats = {}
319
+
320
+ # process the path parameters
321
+ _path_params = {}
322
+
323
+ # process the query parameters
324
+ _query_params = []
325
+ # process the header parameters
326
+ _header_params = dict(_params.get('_headers', {}))
327
+ # process the form parameters
328
+ _form_params = []
329
+ _files = {}
330
+ # process the body parameter
331
+ _body_params = None
332
+ # set the HTTP header `Accept`
333
+ _header_params['Accept'] = self.api_client.select_header_accept(
334
+ ['application/json']) # noqa: E501
335
+
336
+ # authentication setting
337
+ _auth_settings = ['apiKey'] # noqa: E501
338
+
339
+ _response_types_map = {
340
+ '200': "List[LineProviderInfo]",
341
+ }
342
+
343
+ return self.api_client.call_api(
344
+ '/lines/providers', 'GET',
345
+ _path_params,
346
+ _query_params,
347
+ _header_params,
348
+ body=_body_params,
349
+ post_params=_form_params,
350
+ files=_files,
351
+ response_types_map=_response_types_map,
352
+ auth_settings=_auth_settings,
353
+ async_req=_params.get('async_req'),
354
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
355
+ _preload_content=_params.get('_preload_content', True),
356
+ _request_timeout=_params.get('_request_timeout'),
357
+ collection_formats=_collection_formats,
358
+ _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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0/python'
81
+ self.user_agent = 'OpenAPI-Generator/1.3.0/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.2.0
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
 
@@ -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.2.0\n"\
380
- "SDK Package Version: 1.2.0".\
379
+ "Version of the API: 1.3.0\n"\
380
+ "SDK Package Version: 1.3.0".\
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.2.0
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
 
@@ -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.2.0
9
+ The version of the OpenAPI document: 1.3.0
10
10
  Contact: admin@collegefootballdata.com
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -24,9 +24,12 @@ from cbbd.models.game_box_score_team import GameBoxScoreTeam
24
24
  from cbbd.models.game_box_score_team_stats import GameBoxScoreTeamStats
25
25
  from cbbd.models.game_box_score_team_stats_points import GameBoxScoreTeamStatsPoints
26
26
  from cbbd.models.game_info import GameInfo
27
+ from cbbd.models.game_line_info import GameLineInfo
28
+ from cbbd.models.game_lines import GameLines
27
29
  from cbbd.models.game_media_info import GameMediaInfo
28
30
  from cbbd.models.game_media_info_broadcasts_inner import GameMediaInfoBroadcastsInner
29
31
  from cbbd.models.game_status import GameStatus
32
+ from cbbd.models.line_provider_info import LineProviderInfo
30
33
  from cbbd.models.play_info import PlayInfo
31
34
  from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
32
35
  from cbbd.models.play_type_info import PlayTypeInfo
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0
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
 
@@ -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.2.0
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