File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -85,21 +85,23 @@ from pprint import pprint
8585# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
8686# See configuration.py for a list of all supported configuration parameters.
8787configuration = IntelligentStockMarketAPI.Configuration(
88- host = " https://gateway.eod-stock-api.site/api"
88+ host = " https://gateway.eod-stock-api.site/api" ,
89+ api_key = " API Key"
8990)
9091
9192
9293# Enter a context with an instance of the API client
93- with IntelligentStockMarketAPI.ApiClient() as api_client:
94+ with IntelligentStockMarketAPI.ApiClient(configuration ) as api_client:
9495 # Create an instance of the API class
9596 api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
96- exchange_code = ' exchange_code_example ' # str |
97+ exchange_code = ' TO ' # str |
9798
9899 try :
99100 api_response = api_instance.v1_exchange_exchange_with_tickers_code_exchange_code_get(exchange_code)
100101 pprint(api_response)
101102 except ApiException as e:
102- print (" Exception when calling ExchangesApi->v1_exchange_exchange_with_tickers_code_exchange_code_get: %s \n " % e)
103+ print (" Exception when calling ExchangesApi: {} " .format(e))
104+
103105```
104106
105107### Parameters
You can’t perform that action at this time.
0 commit comments