Skip to content

Commit 7f39e58

Browse files
Update Documentation
Exchange Documentations
1 parent 86e013d commit 7f39e58

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/docs/ExchangesApi.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
8787
configuration = 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

0 commit comments

Comments
 (0)