cbbd 1.1.0a1__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. cbbd-1.1.0a1/PKG-INFO +24 -0
  2. cbbd-1.1.0a1/README.md +136 -0
  3. cbbd-1.1.0a1/cbbd/__init__.py +64 -0
  4. cbbd-1.1.0a1/cbbd/api/__init__.py +10 -0
  5. cbbd-1.1.0a1/cbbd/api/conferences_api.py +176 -0
  6. cbbd-1.1.0a1/cbbd/api/games_api.py +806 -0
  7. cbbd-1.1.0a1/cbbd/api/plays_api.py +761 -0
  8. cbbd-1.1.0a1/cbbd/api/stats_api.py +423 -0
  9. cbbd-1.1.0a1/cbbd/api/teams_api.py +195 -0
  10. cbbd-1.1.0a1/cbbd/api/venues_api.py +176 -0
  11. cbbd-1.1.0a1/cbbd/api_client.py +767 -0
  12. cbbd-1.1.0a1/cbbd/api_response.py +25 -0
  13. cbbd-1.1.0a1/cbbd/configuration.py +443 -0
  14. cbbd-1.1.0a1/cbbd/exceptions.py +167 -0
  15. cbbd-1.1.0a1/cbbd/models/__init__.py +42 -0
  16. cbbd-1.1.0a1/cbbd/models/conference_info.py +80 -0
  17. cbbd-1.1.0a1/cbbd/models/game_box_score_players.py +147 -0
  18. cbbd-1.1.0a1/cbbd/models/game_box_score_players_players_inner.py +238 -0
  19. cbbd-1.1.0a1/cbbd/models/game_box_score_team.py +148 -0
  20. cbbd-1.1.0a1/cbbd/models/game_box_score_team_stats.py +170 -0
  21. cbbd-1.1.0a1/cbbd/models/game_box_score_team_stats_points.py +112 -0
  22. cbbd-1.1.0a1/cbbd/models/game_info.py +212 -0
  23. cbbd-1.1.0a1/cbbd/models/game_media_info.py +133 -0
  24. cbbd-1.1.0a1/cbbd/models/game_media_info_broadcasts_inner.py +74 -0
  25. cbbd-1.1.0a1/cbbd/models/game_status.py +44 -0
  26. cbbd-1.1.0a1/cbbd/models/play_info.py +193 -0
  27. cbbd-1.1.0a1/cbbd/models/play_info_participants_inner.py +74 -0
  28. cbbd-1.1.0a1/cbbd/models/play_type_info.py +74 -0
  29. cbbd-1.1.0a1/cbbd/models/player_season_stats.py +231 -0
  30. cbbd-1.1.0a1/cbbd/models/season_type.py +42 -0
  31. cbbd-1.1.0a1/cbbd/models/team_info.py +160 -0
  32. cbbd-1.1.0a1/cbbd/models/team_season_stats.py +112 -0
  33. cbbd-1.1.0a1/cbbd/models/team_season_unit_stats.py +163 -0
  34. cbbd-1.1.0a1/cbbd/models/team_season_unit_stats_field_goals.py +91 -0
  35. cbbd-1.1.0a1/cbbd/models/team_season_unit_stats_fouls.py +91 -0
  36. cbbd-1.1.0a1/cbbd/models/team_season_unit_stats_four_factors.py +98 -0
  37. cbbd-1.1.0a1/cbbd/models/team_season_unit_stats_points.py +98 -0
  38. cbbd-1.1.0a1/cbbd/models/team_season_unit_stats_rebounds.py +91 -0
  39. cbbd-1.1.0a1/cbbd/models/team_season_unit_stats_turnovers.py +84 -0
  40. cbbd-1.1.0a1/cbbd/models/venue_info.py +102 -0
  41. cbbd-1.1.0a1/cbbd/py.typed +0 -0
  42. cbbd-1.1.0a1/cbbd/rest.py +330 -0
  43. cbbd-1.1.0a1/cbbd.egg-info/PKG-INFO +24 -0
  44. cbbd-1.1.0a1/cbbd.egg-info/SOURCES.txt +80 -0
  45. cbbd-1.1.0a1/cbbd.egg-info/dependency_links.txt +1 -0
  46. cbbd-1.1.0a1/cbbd.egg-info/requires.txt +4 -0
  47. cbbd-1.1.0a1/cbbd.egg-info/top_level.txt +1 -0
  48. cbbd-1.1.0a1/pyproject.toml +30 -0
  49. cbbd-1.1.0a1/setup.cfg +7 -0
  50. cbbd-1.1.0a1/setup.py +50 -0
  51. cbbd-1.1.0a1/test/test_conference_info.py +62 -0
  52. cbbd-1.1.0a1/test/test_conferences_api.py +38 -0
  53. cbbd-1.1.0a1/test/test_game_box_score_players.py +168 -0
  54. cbbd-1.1.0a1/test/test_game_box_score_players_players_inner.py +138 -0
  55. cbbd-1.1.0a1/test/test_game_box_score_team.py +260 -0
  56. cbbd-1.1.0a1/test/test_game_box_score_team_stats.py +148 -0
  57. cbbd-1.1.0a1/test/test_game_box_score_team_stats_points.py +68 -0
  58. cbbd-1.1.0a1/test/test_game_info.py +120 -0
  59. cbbd-1.1.0a1/test/test_game_media_info.py +94 -0
  60. cbbd-1.1.0a1/test/test_game_media_info_broadcasts_inner.py +56 -0
  61. cbbd-1.1.0a1/test/test_game_status.py +35 -0
  62. cbbd-1.1.0a1/test/test_games_api.py +56 -0
  63. cbbd-1.1.0a1/test/test_play_info.py +114 -0
  64. cbbd-1.1.0a1/test/test_play_info_participants_inner.py +56 -0
  65. cbbd-1.1.0a1/test/test_play_type_info.py +56 -0
  66. cbbd-1.1.0a1/test/test_player_season_stats.py +146 -0
  67. cbbd-1.1.0a1/test/test_plays_api.py +62 -0
  68. cbbd-1.1.0a1/test/test_season_type.py +35 -0
  69. cbbd-1.1.0a1/test/test_stats_api.py +44 -0
  70. cbbd-1.1.0a1/test/test_team_info.py +82 -0
  71. cbbd-1.1.0a1/test/test_team_season_stats.py +220 -0
  72. cbbd-1.1.0a1/test/test_team_season_unit_stats.py +138 -0
  73. cbbd-1.1.0a1/test/test_team_season_unit_stats_field_goals.py +58 -0
  74. cbbd-1.1.0a1/test/test_team_season_unit_stats_fouls.py +58 -0
  75. cbbd-1.1.0a1/test/test_team_season_unit_stats_four_factors.py +60 -0
  76. cbbd-1.1.0a1/test/test_team_season_unit_stats_points.py +60 -0
  77. cbbd-1.1.0a1/test/test_team_season_unit_stats_rebounds.py +58 -0
  78. cbbd-1.1.0a1/test/test_team_season_unit_stats_turnovers.py +56 -0
  79. cbbd-1.1.0a1/test/test_teams_api.py +38 -0
  80. cbbd-1.1.0a1/test/test_venue_info.py +64 -0
  81. cbbd-1.1.0a1/test/test_venues_api.py +38 -0
cbbd-1.1.0a1/PKG-INFO ADDED
@@ -0,0 +1,24 @@
1
+ Metadata-Version: 2.2
2
+ Name: cbbd
3
+ Version: 1.1.0a1
4
+ Summary: College Basketball Data API
5
+ Home-page: https://github.com/CFBD/cbbd-python
6
+ Author-email: admin@collegefootballdata.com
7
+ License: MIT
8
+ Keywords: OpenAPI,OpenAPI-Generator,College Basketball Data API
9
+ Description-Content-Type: text/markdown
10
+ Requires-Dist: urllib3<3.0.0,>=1.25.3
11
+ Requires-Dist: python-dateutil
12
+ Requires-Dist: pydantic<2,>=1.10.5
13
+ Requires-Dist: aenum
14
+ Dynamic: author-email
15
+ Dynamic: description
16
+ Dynamic: description-content-type
17
+ Dynamic: home-page
18
+ Dynamic: keywords
19
+ Dynamic: license
20
+ Dynamic: requires-dist
21
+ Dynamic: summary
22
+
23
+ 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.
24
+
cbbd-1.1.0a1/README.md ADDED
@@ -0,0 +1,136 @@
1
+ # cbbd
2
+ 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.
3
+
4
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
+
6
+ - API version: 1.1.0
7
+ - Package version: 1.1.0a1
8
+ - Generator version: 7.11.0
9
+ - Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
10
+
11
+ ## Requirements.
12
+
13
+ Python 3.7+
14
+
15
+ ## Installation & Usage
16
+ ### pip install
17
+
18
+ ```sh
19
+ pip install cbbd@1.1.0a1
20
+ ```
21
+ (you may need to run `pip` with root permission: `sudo pip install cbbd@1.1.0a1`)
22
+
23
+ Then import the package:
24
+ ```python
25
+ import cbbd
26
+ ```
27
+
28
+ ## Getting Started
29
+
30
+ Please follow the [installation procedure](#installation--usage) and then run the following:
31
+
32
+ ```python
33
+
34
+ import time
35
+ import cbbd
36
+ from cbbd.rest import ApiException
37
+ from pprint import pprint
38
+
39
+ # Defining the host is optional and defaults to https://api.collegebasketballdata.com
40
+ # See configuration.py for a list of all supported configuration parameters.
41
+ configuration = cbbd.Configuration(
42
+ host = "https://api.collegebasketballdata.com"
43
+ )
44
+
45
+ # The client must configure the authentication and authorization parameters
46
+ # in accordance with the API server security policy.
47
+ # Examples for each auth method are provided below, use the example that
48
+ # satisfies your auth use case.
49
+
50
+ # Configure Bearer authorization: apiKey
51
+ configuration = cbbd.Configuration(
52
+ access_token = os.environ["BEARER_TOKEN"]
53
+ )
54
+
55
+
56
+ # Enter a context with an instance of the API client
57
+ with cbbd.ApiClient(configuration) as api_client:
58
+ # Create an instance of the API class
59
+ api_instance = cbbd.ConferencesApi(api_client)
60
+
61
+ try:
62
+ api_response = api_instance.get_conferences()
63
+ print("The response of ConferencesApi->get_conferences:\n")
64
+ pprint(api_response)
65
+ except ApiException as e:
66
+ print("Exception when calling ConferencesApi->get_conferences: %s\n" % e)
67
+
68
+ ```
69
+
70
+ ## Documentation for API Endpoints
71
+
72
+ All URIs are relative to *https://api.collegebasketballdata.com*
73
+
74
+ Class | Method | HTTP request | Description
75
+ ------------ | ------------- | ------------- | -------------
76
+ *ConferencesApi* | [**get_conferences**](docs/ConferencesApi.md#get_conferences) | **GET** /conferences |
77
+ *GamesApi* | [**get_broadcasts**](docs/GamesApi.md#get_broadcasts) | **GET** /games/media |
78
+ *GamesApi* | [**get_game_players**](docs/GamesApi.md#get_game_players) | **GET** /games/players |
79
+ *GamesApi* | [**get_game_teams**](docs/GamesApi.md#get_game_teams) | **GET** /games/teams |
80
+ *GamesApi* | [**get_games**](docs/GamesApi.md#get_games) | **GET** /games |
81
+ *PlaysApi* | [**get_play_types**](docs/PlaysApi.md#get_play_types) | **GET** /plays/types |
82
+ *PlaysApi* | [**get_plays**](docs/PlaysApi.md#get_plays) | **GET** /plays/game/{gameId} |
83
+ *PlaysApi* | [**get_plays_by_date**](docs/PlaysApi.md#get_plays_by_date) | **GET** /plays/date |
84
+ *PlaysApi* | [**get_plays_by_player_id**](docs/PlaysApi.md#get_plays_by_player_id) | **GET** /plays/player/{playerId} |
85
+ *PlaysApi* | [**get_plays_by_team**](docs/PlaysApi.md#get_plays_by_team) | **GET** /plays/team |
86
+ *StatsApi* | [**get_player_season_stats**](docs/StatsApi.md#get_player_season_stats) | **GET** /stats/player/season |
87
+ *StatsApi* | [**get_team_season_stats**](docs/StatsApi.md#get_team_season_stats) | **GET** /stats/team/season |
88
+ *TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /teams |
89
+ *VenuesApi* | [**get_venues**](docs/VenuesApi.md#get_venues) | **GET** /venues |
90
+
91
+
92
+ ## Documentation For Models
93
+
94
+ - [ConferenceInfo](docs/ConferenceInfo.md)
95
+ - [GameBoxScorePlayers](docs/GameBoxScorePlayers.md)
96
+ - [GameBoxScorePlayersPlayersInner](docs/GameBoxScorePlayersPlayersInner.md)
97
+ - [GameBoxScoreTeam](docs/GameBoxScoreTeam.md)
98
+ - [GameBoxScoreTeamStats](docs/GameBoxScoreTeamStats.md)
99
+ - [GameBoxScoreTeamStatsPoints](docs/GameBoxScoreTeamStatsPoints.md)
100
+ - [GameInfo](docs/GameInfo.md)
101
+ - [GameMediaInfo](docs/GameMediaInfo.md)
102
+ - [GameMediaInfoBroadcastsInner](docs/GameMediaInfoBroadcastsInner.md)
103
+ - [GameStatus](docs/GameStatus.md)
104
+ - [PlayInfo](docs/PlayInfo.md)
105
+ - [PlayInfoParticipantsInner](docs/PlayInfoParticipantsInner.md)
106
+ - [PlayTypeInfo](docs/PlayTypeInfo.md)
107
+ - [PlayerSeasonStats](docs/PlayerSeasonStats.md)
108
+ - [SeasonType](docs/SeasonType.md)
109
+ - [TeamInfo](docs/TeamInfo.md)
110
+ - [TeamSeasonStats](docs/TeamSeasonStats.md)
111
+ - [TeamSeasonUnitStats](docs/TeamSeasonUnitStats.md)
112
+ - [TeamSeasonUnitStatsFieldGoals](docs/TeamSeasonUnitStatsFieldGoals.md)
113
+ - [TeamSeasonUnitStatsFouls](docs/TeamSeasonUnitStatsFouls.md)
114
+ - [TeamSeasonUnitStatsFourFactors](docs/TeamSeasonUnitStatsFourFactors.md)
115
+ - [TeamSeasonUnitStatsPoints](docs/TeamSeasonUnitStatsPoints.md)
116
+ - [TeamSeasonUnitStatsRebounds](docs/TeamSeasonUnitStatsRebounds.md)
117
+ - [TeamSeasonUnitStatsTurnovers](docs/TeamSeasonUnitStatsTurnovers.md)
118
+ - [VenueInfo](docs/VenueInfo.md)
119
+
120
+
121
+ <a id="documentation-for-authorization"></a>
122
+ ## Documentation For Authorization
123
+
124
+
125
+ Authentication schemes defined for the API:
126
+ <a id="apiKey"></a>
127
+ ### apiKey
128
+
129
+ - **Type**: Bearer authentication
130
+
131
+
132
+ ## Author
133
+
134
+ admin@collegefootballdata.com
135
+
136
+
@@ -0,0 +1,64 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ College Basketball Data API
7
+
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
+
10
+ The version of the OpenAPI document: 1.1.0
11
+ Contact: admin@collegefootballdata.com
12
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
13
+
14
+ Do not edit the class manually.
15
+ """ # noqa: E501
16
+
17
+
18
+ __version__ = "1.1.0a1"
19
+
20
+ # import apis into sdk package
21
+ from cbbd.api.conferences_api import ConferencesApi
22
+ from cbbd.api.games_api import GamesApi
23
+ from cbbd.api.plays_api import PlaysApi
24
+ from cbbd.api.stats_api import StatsApi
25
+ from cbbd.api.teams_api import TeamsApi
26
+ from cbbd.api.venues_api import VenuesApi
27
+
28
+ # import ApiClient
29
+ from cbbd.api_response import ApiResponse
30
+ from cbbd.api_client import ApiClient
31
+ from cbbd.configuration import Configuration
32
+ from cbbd.exceptions import OpenApiException
33
+ from cbbd.exceptions import ApiTypeError
34
+ from cbbd.exceptions import ApiValueError
35
+ from cbbd.exceptions import ApiKeyError
36
+ from cbbd.exceptions import ApiAttributeError
37
+ from cbbd.exceptions import ApiException
38
+
39
+ # import models into sdk package
40
+ from cbbd.models.conference_info import ConferenceInfo
41
+ from cbbd.models.game_box_score_players import GameBoxScorePlayers
42
+ from cbbd.models.game_box_score_players_players_inner import GameBoxScorePlayersPlayersInner
43
+ from cbbd.models.game_box_score_team import GameBoxScoreTeam
44
+ from cbbd.models.game_box_score_team_stats import GameBoxScoreTeamStats
45
+ from cbbd.models.game_box_score_team_stats_points import GameBoxScoreTeamStatsPoints
46
+ from cbbd.models.game_info import GameInfo
47
+ from cbbd.models.game_media_info import GameMediaInfo
48
+ from cbbd.models.game_media_info_broadcasts_inner import GameMediaInfoBroadcastsInner
49
+ from cbbd.models.game_status import GameStatus
50
+ from cbbd.models.play_info import PlayInfo
51
+ from cbbd.models.play_info_participants_inner import PlayInfoParticipantsInner
52
+ from cbbd.models.play_type_info import PlayTypeInfo
53
+ from cbbd.models.player_season_stats import PlayerSeasonStats
54
+ from cbbd.models.season_type import SeasonType
55
+ from cbbd.models.team_info import TeamInfo
56
+ from cbbd.models.team_season_stats import TeamSeasonStats
57
+ from cbbd.models.team_season_unit_stats import TeamSeasonUnitStats
58
+ from cbbd.models.team_season_unit_stats_field_goals import TeamSeasonUnitStatsFieldGoals
59
+ from cbbd.models.team_season_unit_stats_fouls import TeamSeasonUnitStatsFouls
60
+ from cbbd.models.team_season_unit_stats_four_factors import TeamSeasonUnitStatsFourFactors
61
+ from cbbd.models.team_season_unit_stats_points import TeamSeasonUnitStatsPoints
62
+ from cbbd.models.team_season_unit_stats_rebounds import TeamSeasonUnitStatsRebounds
63
+ from cbbd.models.team_season_unit_stats_turnovers import TeamSeasonUnitStatsTurnovers
64
+ from cbbd.models.venue_info import VenueInfo
@@ -0,0 +1,10 @@
1
+ # flake8: noqa
2
+
3
+ # import apis into api package
4
+ from cbbd.api.conferences_api import ConferencesApi
5
+ from cbbd.api.games_api import GamesApi
6
+ from cbbd.api.plays_api import PlaysApi
7
+ from cbbd.api.stats_api import StatsApi
8
+ from cbbd.api.teams_api import TeamsApi
9
+ from cbbd.api.venues_api import VenuesApi
10
+
@@ -0,0 +1,176 @@
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.1.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 import List
23
+
24
+ from cbbd.models.conference_info import ConferenceInfo
25
+
26
+ from cbbd.api_client import ApiClient
27
+ from cbbd.api_response import ApiResponse
28
+ from cbbd.exceptions import ( # noqa: F401
29
+ ApiTypeError,
30
+ ApiValueError
31
+ )
32
+
33
+
34
+ class ConferencesApi:
35
+ """NOTE: This class is auto generated by OpenAPI Generator
36
+ Ref: https://openapi-generator.tech
37
+
38
+ Do not edit the class manually.
39
+ """
40
+
41
+ def __init__(self, api_client=None) -> None:
42
+ if api_client is None:
43
+ api_client = ApiClient.get_default()
44
+ self.api_client = api_client
45
+
46
+ @validate_arguments
47
+ def get_conferences(self, **kwargs) -> List[ConferenceInfo]: # noqa: E501
48
+ """get_conferences # noqa: E501
49
+
50
+ Retrieves list of available conferences # noqa: E501
51
+ This method makes a synchronous HTTP request by default. To make an
52
+ asynchronous HTTP request, please pass async_req=True
53
+
54
+ >>> thread = api.get_conferences(async_req=True)
55
+ >>> result = thread.get()
56
+
57
+ :param async_req: Whether to execute the request asynchronously.
58
+ :type async_req: bool, optional
59
+ :param _request_timeout: timeout setting for this request.
60
+ If one number provided, it will be total request
61
+ timeout. It can also be a pair (tuple) of
62
+ (connection, read) timeouts.
63
+ :return: Returns the result object.
64
+ If the method is called asynchronously,
65
+ returns the request thread.
66
+ :rtype: List[ConferenceInfo]
67
+ """
68
+ kwargs['_return_http_data_only'] = True
69
+ if '_preload_content' in kwargs:
70
+ message = "Error! Please call the get_conferences_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
71
+ raise ValueError(message)
72
+ return self.get_conferences_with_http_info(**kwargs) # noqa: E501
73
+
74
+ @validate_arguments
75
+ def get_conferences_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501
76
+ """get_conferences # noqa: E501
77
+
78
+ Retrieves list of available conferences # noqa: E501
79
+ This method makes a synchronous HTTP request by default. To make an
80
+ asynchronous HTTP request, please pass async_req=True
81
+
82
+ >>> thread = api.get_conferences_with_http_info(async_req=True)
83
+ >>> result = thread.get()
84
+
85
+ :param async_req: Whether to execute the request asynchronously.
86
+ :type async_req: bool, optional
87
+ :param _preload_content: if False, the ApiResponse.data will
88
+ be set to none and raw_data will store the
89
+ HTTP response body without reading/decoding.
90
+ Default is True.
91
+ :type _preload_content: bool, optional
92
+ :param _return_http_data_only: response data instead of ApiResponse
93
+ object with status code, headers, etc
94
+ :type _return_http_data_only: bool, optional
95
+ :param _request_timeout: timeout setting for this request. If one
96
+ number provided, it will be total request
97
+ timeout. It can also be a pair (tuple) of
98
+ (connection, read) timeouts.
99
+ :param _request_auth: set to override the auth_settings for an a single
100
+ request; this effectively ignores the authentication
101
+ in the spec for a single request.
102
+ :type _request_auth: dict, optional
103
+ :type _content_type: string, optional: force content-type for the request
104
+ :return: Returns the result object.
105
+ If the method is called asynchronously,
106
+ returns the request thread.
107
+ :rtype: tuple(List[ConferenceInfo], status_code(int), headers(HTTPHeaderDict))
108
+ """
109
+
110
+ _params = locals()
111
+
112
+ _all_params = [
113
+ ]
114
+ _all_params.extend(
115
+ [
116
+ 'async_req',
117
+ '_return_http_data_only',
118
+ '_preload_content',
119
+ '_request_timeout',
120
+ '_request_auth',
121
+ '_content_type',
122
+ '_headers'
123
+ ]
124
+ )
125
+
126
+ # validate the arguments
127
+ for _key, _val in _params['kwargs'].items():
128
+ if _key not in _all_params:
129
+ raise ApiTypeError(
130
+ "Got an unexpected keyword argument '%s'"
131
+ " to method get_conferences" % _key
132
+ )
133
+ _params[_key] = _val
134
+ del _params['kwargs']
135
+
136
+ _collection_formats = {}
137
+
138
+ # process the path parameters
139
+ _path_params = {}
140
+
141
+ # process the query parameters
142
+ _query_params = []
143
+ # process the header parameters
144
+ _header_params = dict(_params.get('_headers', {}))
145
+ # process the form parameters
146
+ _form_params = []
147
+ _files = {}
148
+ # process the body parameter
149
+ _body_params = None
150
+ # set the HTTP header `Accept`
151
+ _header_params['Accept'] = self.api_client.select_header_accept(
152
+ ['application/json']) # noqa: E501
153
+
154
+ # authentication setting
155
+ _auth_settings = ['apiKey'] # noqa: E501
156
+
157
+ _response_types_map = {
158
+ '200': "List[ConferenceInfo]",
159
+ }
160
+
161
+ return self.api_client.call_api(
162
+ '/conferences', 'GET',
163
+ _path_params,
164
+ _query_params,
165
+ _header_params,
166
+ body=_body_params,
167
+ post_params=_form_params,
168
+ files=_files,
169
+ response_types_map=_response_types_map,
170
+ auth_settings=_auth_settings,
171
+ async_req=_params.get('async_req'),
172
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
173
+ _preload_content=_params.get('_preload_content', True),
174
+ _request_timeout=_params.get('_request_timeout'),
175
+ collection_formats=_collection_formats,
176
+ _request_auth=_params.get('_request_auth'))