fds.sdk.EventsandTranscripts 0.20.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 (60) hide show
  1. fds/__init__.py +0 -0
  2. fds/sdk/EventsandTranscripts/__init__.py +28 -0
  3. fds/sdk/EventsandTranscripts/api/__init__.py +3 -0
  4. fds/sdk/EventsandTranscripts/api/calendar_events_api.py +309 -0
  5. fds/sdk/EventsandTranscripts/api/events_audio_api.py +1452 -0
  6. fds/sdk/EventsandTranscripts/api/near_real_time_transcripts_api.py +1190 -0
  7. fds/sdk/EventsandTranscripts/api/transcripts_api.py +1682 -0
  8. fds/sdk/EventsandTranscripts/api_client.py +929 -0
  9. fds/sdk/EventsandTranscripts/apis/__init__.py +20 -0
  10. fds/sdk/EventsandTranscripts/configuration.py +496 -0
  11. fds/sdk/EventsandTranscripts/exceptions.py +160 -0
  12. fds/sdk/EventsandTranscripts/model/__init__.py +5 -0
  13. fds/sdk/EventsandTranscripts/model/company_event_request.py +262 -0
  14. fds/sdk/EventsandTranscripts/model/company_event_request_data.py +294 -0
  15. fds/sdk/EventsandTranscripts/model/company_event_request_data_date_time.py +268 -0
  16. fds/sdk/EventsandTranscripts/model/company_event_request_data_universe.py +274 -0
  17. fds/sdk/EventsandTranscripts/model/company_event_response.py +262 -0
  18. fds/sdk/EventsandTranscripts/model/company_event_response_object.py +322 -0
  19. fds/sdk/EventsandTranscripts/model/error.py +262 -0
  20. fds/sdk/EventsandTranscripts/model/error_example.py +264 -0
  21. fds/sdk/EventsandTranscripts/model/events_audio_daily.py +268 -0
  22. fds/sdk/EventsandTranscripts/model/events_audio_daily_file_name.py +262 -0
  23. fds/sdk/EventsandTranscripts/model/events_audio_daily_file_name_data.py +328 -0
  24. fds/sdk/EventsandTranscripts/model/events_audio_daily_ids.py +262 -0
  25. fds/sdk/EventsandTranscripts/model/events_audio_daily_meta.py +262 -0
  26. fds/sdk/EventsandTranscripts/model/events_audio_daily_meta_pagination.py +260 -0
  27. fds/sdk/EventsandTranscripts/model/events_audio_daily_object.py +328 -0
  28. fds/sdk/EventsandTranscripts/model/events_audio_history.py +262 -0
  29. fds/sdk/EventsandTranscripts/model/events_audio_history_data.py +272 -0
  30. fds/sdk/EventsandTranscripts/model/events_audio_ids_object.py +328 -0
  31. fds/sdk/EventsandTranscripts/model/indexed_nrt.py +266 -0
  32. fds/sdk/EventsandTranscripts/model/nrt_calls.py +268 -0
  33. fds/sdk/EventsandTranscripts/model/nrt_calls_meta.py +262 -0
  34. fds/sdk/EventsandTranscripts/model/nrt_calls_meta_pagination.py +260 -0
  35. fds/sdk/EventsandTranscripts/model/nrt_calls_object.py +314 -0
  36. fds/sdk/EventsandTranscripts/model/nrt_speaker_id_object.py +272 -0
  37. fds/sdk/EventsandTranscripts/model/nrt_speaker_ids.py +268 -0
  38. fds/sdk/EventsandTranscripts/model/nrt_speaker_ids_meta.py +262 -0
  39. fds/sdk/EventsandTranscripts/model/nrt_speaker_ids_meta_pagination.py +260 -0
  40. fds/sdk/EventsandTranscripts/model/response_categories.py +262 -0
  41. fds/sdk/EventsandTranscripts/model/response_categories_object.py +264 -0
  42. fds/sdk/EventsandTranscripts/model/response_time.py +262 -0
  43. fds/sdk/EventsandTranscripts/model/response_time_object.py +256 -0
  44. fds/sdk/EventsandTranscripts/model/transcript_object.py +316 -0
  45. fds/sdk/EventsandTranscripts/model/transcript_object_one.py +320 -0
  46. fds/sdk/EventsandTranscripts/model/transcripts.py +268 -0
  47. fds/sdk/EventsandTranscripts/model/transcripts_meta.py +262 -0
  48. fds/sdk/EventsandTranscripts/model/transcripts_meta_pagination.py +260 -0
  49. fds/sdk/EventsandTranscripts/model/transcripts_one.py +268 -0
  50. fds/sdk/EventsandTranscripts/model/transcripts_one_meta.py +262 -0
  51. fds/sdk/EventsandTranscripts/model/transcripts_one_meta_pagination.py +260 -0
  52. fds/sdk/EventsandTranscripts/model_utils.py +2052 -0
  53. fds/sdk/EventsandTranscripts/models/__init__.py +50 -0
  54. fds/sdk/EventsandTranscripts/rest.py +347 -0
  55. fds/sdk/__init__.py +0 -0
  56. fds.sdk.EventsandTranscripts-0.20.0.dist-info/LICENSE +202 -0
  57. fds.sdk.EventsandTranscripts-0.20.0.dist-info/METADATA +369 -0
  58. fds.sdk.EventsandTranscripts-0.20.0.dist-info/RECORD +60 -0
  59. fds.sdk.EventsandTranscripts-0.20.0.dist-info/WHEEL +5 -0
  60. fds.sdk.EventsandTranscripts-0.20.0.dist-info/top_level.txt +1 -0
fds/__init__.py ADDED
File without changes
@@ -0,0 +1,28 @@
1
+ # flake8: noqa
2
+
3
+ """
4
+ EVENTS AND TRANSCRIPTS API
5
+
6
+ <p>The Calendar Events API provides access to FactSet’s Event Calendar data alongside business logic that allows users to replicate views and functionality consistent with the experience provided by the Workstation. This API provides the ability to pull Event Calendar data based on specific filters.</p> <p>Events Audio API provides access to historical as well as the latest audio recordings of various company events covered by FactSet. The events include, but are not limited to: earnings calls, conferences, and investor days. This API also provides relevant metadata such as timestamps and identifiers around each audio file.</p> <p>The Near Real-time Transcripts API enables access to Near Real-time Transcripts provided by CallStreet to time-sensitive clients. This API also provides the relevant speaker metadata along with their confidence scores. This data caters to quant clients interested in building machine learning models. Clients can leverage this API to perform sentiment analysis through natural language processing or machine learning. It can also be used to complement analysis using FactSet's transcripts service.</p> <p>Transcripts API provides conference call transcripts for companies' publicly held conference calls and a wealth of information regarding upcoming corporate events, such as conference call date and time, phone number and password, type of conference call, and important company investor relations contact information.</p> # noqa: E501
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: api@factset.com
10
+ Generated by: https://openapi-generator.tech
11
+ """
12
+
13
+
14
+ __version__ = "0.20.0"
15
+
16
+ # import ApiClient
17
+ from fds.sdk.EventsandTranscripts.api_client import ApiClient
18
+
19
+ # import Configuration
20
+ from fds.sdk.EventsandTranscripts.configuration import Configuration
21
+
22
+ # import exceptions
23
+ from fds.sdk.EventsandTranscripts.exceptions import OpenApiException
24
+ from fds.sdk.EventsandTranscripts.exceptions import ApiAttributeError
25
+ from fds.sdk.EventsandTranscripts.exceptions import ApiTypeError
26
+ from fds.sdk.EventsandTranscripts.exceptions import ApiValueError
27
+ from fds.sdk.EventsandTranscripts.exceptions import ApiKeyError
28
+ from fds.sdk.EventsandTranscripts.exceptions import ApiException
@@ -0,0 +1,3 @@
1
+ # do not import all apis into this module because that uses a lot of memory and stack frames
2
+ # if you need the ability to import all apis from one package, import them with
3
+ # from fds.sdk.EventsandTranscripts.apis import CalendarEventsApi
@@ -0,0 +1,309 @@
1
+ """
2
+ EVENTS AND TRANSCRIPTS API
3
+
4
+ <p>The Calendar Events API provides access to FactSet’s Event Calendar data alongside business logic that allows users to replicate views and functionality consistent with the experience provided by the Workstation. This API provides the ability to pull Event Calendar data based on specific filters.</p> <p>Events Audio API provides access to historical as well as the latest audio recordings of various company events covered by FactSet. The events include, but are not limited to: earnings calls, conferences, and investor days. This API also provides relevant metadata such as timestamps and identifiers around each audio file.</p> <p>The Near Real-time Transcripts API enables access to Near Real-time Transcripts provided by CallStreet to time-sensitive clients. This API also provides the relevant speaker metadata along with their confidence scores. This data caters to quant clients interested in building machine learning models. Clients can leverage this API to perform sentiment analysis through natural language processing or machine learning. It can also be used to complement analysis using FactSet's transcripts service.</p> <p>Transcripts API provides conference call transcripts for companies' publicly held conference calls and a wealth of information regarding upcoming corporate events, such as conference call date and time, phone number and password, type of conference call, and important company investor relations contact information.</p> # noqa: E501
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: api@factset.com
8
+ Generated by: https://openapi-generator.tech
9
+ """
10
+
11
+
12
+ import re # noqa: F401
13
+ import sys # noqa: F401
14
+ from multiprocessing.pool import ApplyResult
15
+ import typing
16
+
17
+ from fds.sdk.EventsandTranscripts.api_client import ApiClient, Endpoint as _Endpoint
18
+ from fds.sdk.EventsandTranscripts.model_utils import ( # noqa: F401
19
+ check_allowed_values,
20
+ check_validations,
21
+ date,
22
+ datetime,
23
+ file_type,
24
+ none_type,
25
+ validate_and_convert_types
26
+ )
27
+ from fds.sdk.EventsandTranscripts.exceptions import ApiException
28
+ from fds.sdk.EventsandTranscripts.model.company_event_request import CompanyEventRequest
29
+ from fds.sdk.EventsandTranscripts.model.company_event_response import CompanyEventResponse
30
+ from fds.sdk.EventsandTranscripts.model.error import Error
31
+
32
+
33
+
34
+
35
+
36
+ class CalendarEventsApi(object):
37
+ """NOTE: This class is auto generated by OpenAPI Generator
38
+ Ref: https://openapi-generator.tech
39
+
40
+ Do not edit the class manually.
41
+ """
42
+
43
+ def __init__(self, api_client=None):
44
+ if api_client is None:
45
+ api_client = ApiClient()
46
+ self.api_client = api_client
47
+
48
+ self.get_company_event_endpoint = _Endpoint(
49
+ settings={
50
+ 'response_type': (
51
+ { 200: (CompanyEventResponse,), 400: (Error,), 401: (Error,), 404: (Error,), 500: (Error,), },
52
+ None
53
+ ),
54
+ 'auth': [
55
+ 'FactSetApiKey',
56
+ 'FactSetOAuth2'
57
+ ],
58
+ 'endpoint_path': '/calendar/events',
59
+ 'operation_id': 'get_company_event',
60
+ 'http_method': 'POST',
61
+ 'servers': None,
62
+ },
63
+ params_map={
64
+ 'all': [
65
+ 'company_event_request',
66
+ ],
67
+ 'required': [
68
+ 'company_event_request',
69
+ ],
70
+ 'nullable': [
71
+ ],
72
+ 'enum': [
73
+ ],
74
+ 'validation': [
75
+ ]
76
+ },
77
+ root_map={
78
+ 'validations': {
79
+ },
80
+ 'allowed_values': {
81
+ },
82
+ 'openapi_types': {
83
+ 'company_event_request':
84
+ (CompanyEventRequest,),
85
+ },
86
+ 'attribute_map': {
87
+ },
88
+ 'location_map': {
89
+ 'company_event_request': 'body',
90
+ },
91
+ 'collection_format_map': {
92
+ }
93
+ },
94
+ headers_map={
95
+ 'accept': [
96
+ 'application/json'
97
+ ],
98
+ 'content_type': [
99
+ 'application/json'
100
+ ]
101
+ },
102
+ api_client=api_client
103
+ )
104
+
105
+
106
+ @staticmethod
107
+ def apply_kwargs_defaults(kwargs, return_http_data_only, async_req):
108
+ kwargs["async_req"] = async_req
109
+ kwargs["_return_http_data_only"] = return_http_data_only
110
+ kwargs["_preload_content"] = kwargs.get("_preload_content", True)
111
+ kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
112
+ kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
113
+ kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
114
+ kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
115
+ kwargs["_content_type"] = kwargs.get("_content_type")
116
+ kwargs["_host_index"] = kwargs.get("_host_index")
117
+
118
+
119
+ def get_company_event(
120
+ self,
121
+ company_event_request,
122
+ **kwargs
123
+ ) -> CompanyEventResponse:
124
+ """Retrieve Company Event data # noqa: E501
125
+
126
+ This endpoint returns all company events with filters from the request. # noqa: E501
127
+ This method makes a synchronous HTTP request. Returns the http data only
128
+
129
+ Args:
130
+ company_event_request (CompanyEventRequest): Company Event request body
131
+
132
+ Keyword Args:
133
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
134
+ will be returned without reading/decoding response data.
135
+ Default is True. NOTE: if this API returns a file, it is the responsibility
136
+ of the caller to close the file stream.
137
+ _request_timeout (int/float/tuple): timeout setting for this request. If
138
+ one number provided, it will be total request timeout. It can also
139
+ be a pair (tuple) of (connection, read) timeouts.
140
+ Default is None.
141
+ _check_input_type (bool): specifies if type checking
142
+ should be done one the data sent to the server.
143
+ Default is True.
144
+ _check_return_type (bool): specifies if type checking
145
+ should be done one the data received from the server.
146
+ Default is True.
147
+ _spec_property_naming (bool): True if the variable names in the input data
148
+ are serialized names, as specified in the OpenAPI document.
149
+ False if the variable names in the input data
150
+ are pythonic names, e.g. snake case (default)
151
+ _content_type (str/None): force body content-type.
152
+ Default is None and content-type will be predicted by allowed
153
+ content-types and body.
154
+ _host_index (int/None): specifies the index of the server
155
+ that we want to use.
156
+ Default is read from the configuration.
157
+ Returns:
158
+ CompanyEventResponse
159
+ Response Object
160
+ """
161
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
162
+ kwargs['company_event_request'] = \
163
+ company_event_request
164
+ return self.get_company_event_endpoint.call_with_http_info(**kwargs)
165
+
166
+ def get_company_event_with_http_info(
167
+ self,
168
+ company_event_request,
169
+ **kwargs
170
+ ) -> typing.Tuple[CompanyEventResponse, int, typing.MutableMapping]:
171
+ """Retrieve Company Event data # noqa: E501
172
+
173
+ This endpoint returns all company events with filters from the request. # noqa: E501
174
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
175
+
176
+ Args:
177
+ company_event_request (CompanyEventRequest): Company Event request body
178
+
179
+ Keyword Args:
180
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
181
+ will be returned without reading/decoding response data.
182
+ Default is True. NOTE: if this API returns a file, it is the responsibility
183
+ of the caller to close the file stream.
184
+ _request_timeout (int/float/tuple): timeout setting for this request. If
185
+ one number provided, it will be total request timeout. It can also
186
+ be a pair (tuple) of (connection, read) timeouts.
187
+ Default is None.
188
+ _check_input_type (bool): specifies if type checking
189
+ should be done one the data sent to the server.
190
+ Default is True.
191
+ _check_return_type (bool): specifies if type checking
192
+ should be done one the data received from the server.
193
+ Default is True.
194
+ _spec_property_naming (bool): True if the variable names in the input data
195
+ are serialized names, as specified in the OpenAPI document.
196
+ False if the variable names in the input data
197
+ are pythonic names, e.g. snake case (default)
198
+ _content_type (str/None): force body content-type.
199
+ Default is None and content-type will be predicted by allowed
200
+ content-types and body.
201
+ _host_index (int/None): specifies the index of the server
202
+ that we want to use.
203
+ Default is read from the configuration.
204
+ Returns:
205
+ CompanyEventResponse
206
+ Response Object
207
+ int
208
+ Http Status Code
209
+ dict
210
+ Dictionary of the response headers
211
+ """
212
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
213
+ kwargs['company_event_request'] = \
214
+ company_event_request
215
+ return self.get_company_event_endpoint.call_with_http_info(**kwargs)
216
+
217
+ def get_company_event_async(
218
+ self,
219
+ company_event_request,
220
+ **kwargs
221
+ ) -> "ApplyResult[CompanyEventResponse]":
222
+ """Retrieve Company Event data # noqa: E501
223
+
224
+ This endpoint returns all company events with filters from the request. # noqa: E501
225
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
226
+
227
+ Args:
228
+ company_event_request (CompanyEventRequest): Company Event request body
229
+
230
+ Keyword Args:
231
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
232
+ will be returned without reading/decoding response data.
233
+ Default is True. NOTE: if this API returns a file, it is the responsibility
234
+ of the caller to close the file stream.
235
+ _request_timeout (int/float/tuple): timeout setting for this request. If
236
+ one number provided, it will be total request timeout. It can also
237
+ be a pair (tuple) of (connection, read) timeouts.
238
+ Default is None.
239
+ _check_input_type (bool): specifies if type checking
240
+ should be done one the data sent to the server.
241
+ Default is True.
242
+ _check_return_type (bool): specifies if type checking
243
+ should be done one the data received from the server.
244
+ Default is True.
245
+ _spec_property_naming (bool): True if the variable names in the input data
246
+ are serialized names, as specified in the OpenAPI document.
247
+ False if the variable names in the input data
248
+ are pythonic names, e.g. snake case (default)
249
+ _content_type (str/None): force body content-type.
250
+ Default is None and content-type will be predicted by allowed
251
+ content-types and body.
252
+ _host_index (int/None): specifies the index of the server
253
+ that we want to use.
254
+ Default is read from the configuration.
255
+ Returns:
256
+ ApplyResult[CompanyEventResponse]
257
+ """
258
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
259
+ kwargs['company_event_request'] = \
260
+ company_event_request
261
+ return self.get_company_event_endpoint.call_with_http_info(**kwargs)
262
+
263
+ def get_company_event_with_http_info_async(
264
+ self,
265
+ company_event_request,
266
+ **kwargs
267
+ ) -> "ApplyResult[typing.Tuple[CompanyEventResponse, int, typing.MutableMapping]]":
268
+ """Retrieve Company Event data # noqa: E501
269
+
270
+ This endpoint returns all company events with filters from the request. # noqa: E501
271
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
272
+
273
+ Args:
274
+ company_event_request (CompanyEventRequest): Company Event request body
275
+
276
+ Keyword Args:
277
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
278
+ will be returned without reading/decoding response data.
279
+ Default is True. NOTE: if this API returns a file, it is the responsibility
280
+ of the caller to close the file stream.
281
+ _request_timeout (int/float/tuple): timeout setting for this request. If
282
+ one number provided, it will be total request timeout. It can also
283
+ be a pair (tuple) of (connection, read) timeouts.
284
+ Default is None.
285
+ _check_input_type (bool): specifies if type checking
286
+ should be done one the data sent to the server.
287
+ Default is True.
288
+ _check_return_type (bool): specifies if type checking
289
+ should be done one the data received from the server.
290
+ Default is True.
291
+ _spec_property_naming (bool): True if the variable names in the input data
292
+ are serialized names, as specified in the OpenAPI document.
293
+ False if the variable names in the input data
294
+ are pythonic names, e.g. snake case (default)
295
+ _content_type (str/None): force body content-type.
296
+ Default is None and content-type will be predicted by allowed
297
+ content-types and body.
298
+ _host_index (int/None): specifies the index of the server
299
+ that we want to use.
300
+ Default is read from the configuration.
301
+ Returns:
302
+ ApplyResult[(CompanyEventResponse, int, typing.Dict)]
303
+ """
304
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
305
+ kwargs['company_event_request'] = \
306
+ company_event_request
307
+ return self.get_company_event_endpoint.call_with_http_info(**kwargs)
308
+
309
+