1- # openapi_client .ExchangesApi
1+ # src.IntelligentStockMarketAPI .ExchangesApi
22
33All URIs are relative to * http://https://gateway.eod-stock-api.site/api *
44
@@ -25,20 +25,20 @@ given exchange_id or exchange_code code will return exchange_code data
2525``` python
2626from __future__ import print_function
2727import time
28- import openapi_client
29- from openapi_client .rest import ApiException
28+ import src.IntelligentStockMarketAPI
29+ from src.IntelligentStockMarketAPI .rest import ApiException
3030from pprint import pprint
3131# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
3232# See configuration.py for a list of all supported configuration parameters.
33- configuration = openapi_client .Configuration(
33+ configuration = src.IntelligentStockMarketAPI .Configuration(
3434 host = " http://https://gateway.eod-stock-api.site/api"
3535)
3636
3737
3838# Enter a context with an instance of the API client
39- with openapi_client .ApiClient() as api_client:
39+ with src.IntelligentStockMarketAPI .ApiClient() as api_client:
4040 # Create an instance of the API class
41- api_instance = openapi_client .ExchangesApi(api_client)
41+ api_instance = src.IntelligentStockMarketAPI .ExchangesApi(api_client)
4242 exchange_code = ' exchange_code_example' # str |
4343
4444 try :
@@ -86,20 +86,20 @@ Exchange Data with a total list of stock_codes and stock_id's
8686``` python
8787from __future__ import print_function
8888import time
89- import openapi_client
90- from openapi_client .rest import ApiException
89+ import src.IntelligentStockMarketAPI
90+ from src.IntelligentStockMarketAPI .rest import ApiException
9191from pprint import pprint
9292# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
9393# See configuration.py for a list of all supported configuration parameters.
94- configuration = openapi_client .Configuration(
94+ configuration = src.IntelligentStockMarketAPI .Configuration(
9595 host = " http://https://gateway.eod-stock-api.site/api"
9696)
9797
9898
9999# Enter a context with an instance of the API client
100- with openapi_client .ApiClient() as api_client:
100+ with src.IntelligentStockMarketAPI .ApiClient() as api_client:
101101 # Create an instance of the API class
102- api_instance = openapi_client .ExchangesApi(api_client)
102+ api_instance = src.IntelligentStockMarketAPI .ExchangesApi(api_client)
103103 exchange_code = ' exchange_code_example' # str |
104104
105105 try :
@@ -147,20 +147,20 @@ given exchange_id or exchange_code code will return exchange_code data
147147``` python
148148from __future__ import print_function
149149import time
150- import openapi_client
151- from openapi_client .rest import ApiException
150+ import src.IntelligentStockMarketAPI
151+ from src.IntelligentStockMarketAPI .rest import ApiException
152152from pprint import pprint
153153# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
154154# See configuration.py for a list of all supported configuration parameters.
155- configuration = openapi_client .Configuration(
155+ configuration = src.IntelligentStockMarketAPI .Configuration(
156156 host = " http://https://gateway.eod-stock-api.site/api"
157157)
158158
159159
160160# Enter a context with an instance of the API client
161- with openapi_client .ApiClient() as api_client:
161+ with src.IntelligentStockMarketAPI .ApiClient() as api_client:
162162 # Create an instance of the API class
163- api_instance = openapi_client .ExchangesApi(api_client)
163+ api_instance = src.IntelligentStockMarketAPI .ExchangesApi(api_client)
164164 exchange_id = ' exchange_id_example' # str |
165165
166166 try :
@@ -208,20 +208,20 @@ returns a list of listed companies in exchange_code
208208``` python
209209from __future__ import print_function
210210import time
211- import openapi_client
212- from openapi_client .rest import ApiException
211+ import src.IntelligentStockMarketAPI
212+ from src.IntelligentStockMarketAPI .rest import ApiException
213213from pprint import pprint
214214# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
215215# See configuration.py for a list of all supported configuration parameters.
216- configuration = openapi_client .Configuration(
216+ configuration = src.IntelligentStockMarketAPI .Configuration(
217217 host = " http://https://gateway.eod-stock-api.site/api"
218218)
219219
220220
221221# Enter a context with an instance of the API client
222- with openapi_client .ApiClient() as api_client:
222+ with src.IntelligentStockMarketAPI .ApiClient() as api_client:
223223 # Create an instance of the API class
224- api_instance = openapi_client .ExchangesApi(api_client)
224+ api_instance = src.IntelligentStockMarketAPI .ExchangesApi(api_client)
225225 exchange_code = ' exchange_code_example' # str |
226226
227227 try :
@@ -269,20 +269,20 @@ returns a list of listed stocks in exchange_code
269269``` python
270270from __future__ import print_function
271271import time
272- import openapi_client
273- from openapi_client .rest import ApiException
272+ import src.IntelligentStockMarketAPI
273+ from src.IntelligentStockMarketAPI .rest import ApiException
274274from pprint import pprint
275275# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
276276# See configuration.py for a list of all supported configuration parameters.
277- configuration = openapi_client .Configuration(
277+ configuration = src.IntelligentStockMarketAPI .Configuration(
278278 host = " http://https://gateway.eod-stock-api.site/api"
279279)
280280
281281
282282# Enter a context with an instance of the API client
283- with openapi_client .ApiClient() as api_client:
283+ with src.IntelligentStockMarketAPI .ApiClient() as api_client:
284284 # Create an instance of the API class
285- api_instance = openapi_client .ExchangesApi(api_client)
285+ api_instance = src.IntelligentStockMarketAPI .ExchangesApi(api_client)
286286 exchange_code = ' exchange_code_example' # str |
287287
288288 try :
@@ -330,21 +330,21 @@ given exchange_code data create new exchange_code
330330``` python
331331from __future__ import print_function
332332import time
333- import openapi_client
334- from openapi_client .rest import ApiException
333+ import src.IntelligentStockMarketAPI
334+ from src.IntelligentStockMarketAPI .rest import ApiException
335335from pprint import pprint
336336# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
337337# See configuration.py for a list of all supported configuration parameters.
338- configuration = openapi_client .Configuration(
338+ configuration = src.IntelligentStockMarketAPI .Configuration(
339339 host = " http://https://gateway.eod-stock-api.site/api"
340340)
341341
342342
343343# Enter a context with an instance of the API client
344- with openapi_client .ApiClient() as api_client:
344+ with src.IntelligentStockMarketAPI .ApiClient() as api_client:
345345 # Create an instance of the API class
346- api_instance = openapi_client .ExchangesApi(api_client)
347- body = openapi_client .ExchangeRequest() # ExchangeRequest | (optional)
346+ api_instance = src.IntelligentStockMarketAPI .ExchangesApi(api_client)
347+ body = src.IntelligentStockMarketAPI .ExchangeRequest() # ExchangeRequest | (optional)
348348
349349 try :
350350 api_response = api_instance.v1_exchange_post(body = body)
@@ -391,20 +391,20 @@ returns a list of exchanges
391391``` python
392392from __future__ import print_function
393393import time
394- import openapi_client
395- from openapi_client .rest import ApiException
394+ import src.IntelligentStockMarketAPI
395+ from src.IntelligentStockMarketAPI .rest import ApiException
396396from pprint import pprint
397397# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
398398# See configuration.py for a list of all supported configuration parameters.
399- configuration = openapi_client .Configuration(
399+ configuration = src.IntelligentStockMarketAPI .Configuration(
400400 host = " http://https://gateway.eod-stock-api.site/api"
401401)
402402
403403
404404# Enter a context with an instance of the API client
405- with openapi_client .ApiClient() as api_client:
405+ with src.IntelligentStockMarketAPI .ApiClient() as api_client:
406406 # Create an instance of the API class
407- api_instance = openapi_client .ExchangesApi(api_client)
407+ api_instance = src.IntelligentStockMarketAPI .ExchangesApi(api_client)
408408
409409 try :
410410 api_response = api_instance.v1_exchanges_get()
0 commit comments