Skip to content

Commit 51c9fe1

Browse files
Updated ReadMe File
1 parent 335cce7 commit 51c9fe1

File tree

6 files changed

+129
-129
lines changed

6 files changed

+129
-129
lines changed

src/IntelligentStockMarketAPI/api/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# flake8: noqa
44

55
# import apis into api package
6-
from openapi_client.api.eod_api import EodApi
7-
from openapi_client.api.exchanges_api import ExchangesApi
8-
from openapi_client.api.financial_news_api import FinancialNewsApi
9-
from openapi_client.api.fundamentals_api import FundamentalsApi
10-
from openapi_client.api.options_api import OptionsApi
11-
from openapi_client.api.sentiment_api import SentimentApi
12-
from openapi_client.api.stocks_api import StocksApi
6+
from src.IntelligentStockMarketAPI.api.eod_api import EodApi
7+
from src.IntelligentStockMarketAPI.api.exchanges_api import ExchangesApi
8+
from src.IntelligentStockMarketAPI.api.financial_news_api import FinancialNewsApi
9+
from src.IntelligentStockMarketAPI.api.fundamentals_api import FundamentalsApi
10+
from src.IntelligentStockMarketAPI.api.options_api import OptionsApi
11+
from src.IntelligentStockMarketAPI.api.sentiment_api import SentimentApi
12+
from src.IntelligentStockMarketAPI.api.stocks_api import StocksApi

src/docs/EodApi.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# openapi_client.EodApi
1+
# src.IntelligentStockMarketAPI.EodApi
22

33
All URIs are relative to *http://https://gateway.eod-stock-api.site/api*
44

@@ -22,20 +22,20 @@ will return end of day data for a certain stock at a given date
2222
```python
2323
from __future__ import print_function
2424
import time
25-
import openapi_client
26-
from openapi_client.rest import ApiException
25+
import src.IntelligentStockMarketAPI
26+
from src.IntelligentStockMarketAPI.rest import ApiException
2727
from pprint import pprint
2828
# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
2929
# See configuration.py for a list of all supported configuration parameters.
30-
configuration = openapi_client.Configuration(
30+
configuration = src.IntelligentStockMarketAPI.Configuration(
3131
host = "http://https://gateway.eod-stock-api.site/api"
3232
)
3333

3434

3535
# Enter a context with an instance of the API client
36-
with openapi_client.ApiClient() as api_client:
36+
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
3737
# Create an instance of the API class
38-
api_instance = openapi_client.EodApi(api_client)
38+
api_instance = src.IntelligentStockMarketAPI.EodApi(api_client)
3939
date = 'date_example' # str |
4040
exchange_code = 'exchange_code_example' # str |
4141

@@ -85,20 +85,20 @@ will return end of day data for a certain stock at a given date
8585
```python
8686
from __future__ import print_function
8787
import time
88-
import openapi_client
89-
from openapi_client.rest import ApiException
88+
import src.IntelligentStockMarketAPI
89+
from src.IntelligentStockMarketAPI.rest import ApiException
9090
from pprint import pprint
9191
# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
9292
# See configuration.py for a list of all supported configuration parameters.
93-
configuration = openapi_client.Configuration(
93+
configuration = src.IntelligentStockMarketAPI.Configuration(
9494
host = "http://https://gateway.eod-stock-api.site/api"
9595
)
9696

9797

9898
# Enter a context with an instance of the API client
99-
with openapi_client.ApiClient() as api_client:
99+
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
100100
# Create an instance of the API class
101-
api_instance = openapi_client.EodApi(api_client)
101+
api_instance = src.IntelligentStockMarketAPI.EodApi(api_client)
102102
date = 'date_example' # str |
103103
exchange_code = 'exchange_code_example' # str |
104104
stock_code = 'stock_code_example' # str |
@@ -150,20 +150,20 @@ return a list of eod historical data on exchange_code from one date to the other
150150
```python
151151
from __future__ import print_function
152152
import time
153-
import openapi_client
154-
from openapi_client.rest import ApiException
153+
import src.IntelligentStockMarketAPI
154+
from src.IntelligentStockMarketAPI.rest import ApiException
155155
from pprint import pprint
156156
# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
157157
# See configuration.py for a list of all supported configuration parameters.
158-
configuration = openapi_client.Configuration(
158+
configuration = src.IntelligentStockMarketAPI.Configuration(
159159
host = "http://https://gateway.eod-stock-api.site/api"
160160
)
161161

162162

163163
# Enter a context with an instance of the API client
164-
with openapi_client.ApiClient() as api_client:
164+
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
165165
# Create an instance of the API class
166-
api_instance = openapi_client.EodApi(api_client)
166+
api_instance = src.IntelligentStockMarketAPI.EodApi(api_client)
167167
exchange_code = 'exchange_code_example' # str |
168168
to = 'to_example' # str |
169169
_from = '_from_example' # str |
@@ -215,20 +215,20 @@ will return end of day data for a certain stock at a given date
215215
```python
216216
from __future__ import print_function
217217
import time
218-
import openapi_client
219-
from openapi_client.rest import ApiException
218+
import src.IntelligentStockMarketAPI
219+
from src.IntelligentStockMarketAPI.rest import ApiException
220220
from pprint import pprint
221221
# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
222222
# See configuration.py for a list of all supported configuration parameters.
223-
configuration = openapi_client.Configuration(
223+
configuration = src.IntelligentStockMarketAPI.Configuration(
224224
host = "http://https://gateway.eod-stock-api.site/api"
225225
)
226226

227227

228228
# Enter a context with an instance of the API client
229-
with openapi_client.ApiClient() as api_client:
229+
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
230230
# Create an instance of the API class
231-
api_instance = openapi_client.EodApi(api_client)
231+
api_instance = src.IntelligentStockMarketAPI.EodApi(api_client)
232232
stock_code = 'stock_code_example' # str |
233233
to = 'to_example' # str |
234234
_from = '_from_example' # str |

src/docs/ExchangesApi.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# openapi_client.ExchangesApi
1+
# src.IntelligentStockMarketAPI.ExchangesApi
22

33
All 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
2626
from __future__ import print_function
2727
import time
28-
import openapi_client
29-
from openapi_client.rest import ApiException
28+
import src.IntelligentStockMarketAPI
29+
from src.IntelligentStockMarketAPI.rest import ApiException
3030
from 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
8787
from __future__ import print_function
8888
import time
89-
import openapi_client
90-
from openapi_client.rest import ApiException
89+
import src.IntelligentStockMarketAPI
90+
from src.IntelligentStockMarketAPI.rest import ApiException
9191
from 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
148148
from __future__ import print_function
149149
import time
150-
import openapi_client
151-
from openapi_client.rest import ApiException
150+
import src.IntelligentStockMarketAPI
151+
from src.IntelligentStockMarketAPI.rest import ApiException
152152
from 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
209209
from __future__ import print_function
210210
import time
211-
import openapi_client
212-
from openapi_client.rest import ApiException
211+
import src.IntelligentStockMarketAPI
212+
from src.IntelligentStockMarketAPI.rest import ApiException
213213
from 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
270270
from __future__ import print_function
271271
import time
272-
import openapi_client
273-
from openapi_client.rest import ApiException
272+
import src.IntelligentStockMarketAPI
273+
from src.IntelligentStockMarketAPI.rest import ApiException
274274
from 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
331331
from __future__ import print_function
332332
import time
333-
import openapi_client
334-
from openapi_client.rest import ApiException
333+
import src.IntelligentStockMarketAPI
334+
from src.IntelligentStockMarketAPI.rest import ApiException
335335
from 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
392392
from __future__ import print_function
393393
import time
394-
import openapi_client
395-
from openapi_client.rest import ApiException
394+
import src.IntelligentStockMarketAPI
395+
from src.IntelligentStockMarketAPI.rest import ApiException
396396
from 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()

src/docs/OptionsApi.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# openapi_client.OptionsApi
1+
# src.IntelligentStockMarketAPI.OptionsApi
22

33
All URIs are relative to *http://https://gateway.eod-stock-api.site/api*
44

@@ -20,20 +20,20 @@ given call_put_id return Contract
2020
```python
2121
from __future__ import print_function
2222
import time
23-
import openapi_client
24-
from openapi_client.rest import ApiException
23+
import src.IntelligentStockMarketAPI
24+
from src.IntelligentStockMarketAPI.rest import ApiException
2525
from pprint import pprint
2626
# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
2727
# See configuration.py for a list of all supported configuration parameters.
28-
configuration = openapi_client.Configuration(
28+
configuration = src.IntelligentStockMarketAPI.Configuration(
2929
host = "http://https://gateway.eod-stock-api.site/api"
3030
)
3131

3232

3333
# Enter a context with an instance of the API client
34-
with openapi_client.ApiClient() as api_client:
34+
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
3535
# Create an instance of the API class
36-
api_instance = openapi_client.OptionsApi(api_client)
36+
api_instance = src.IntelligentStockMarketAPI.OptionsApi(api_client)
3737
call_put_id = 'call_put_id_example' # str |
3838

3939
try:
@@ -81,20 +81,20 @@ get Stock options data for the provided stock code
8181
```python
8282
from __future__ import print_function
8383
import time
84-
import openapi_client
85-
from openapi_client.rest import ApiException
84+
import src.IntelligentStockMarketAPI
85+
from src.IntelligentStockMarketAPI.rest import ApiException
8686
from pprint import pprint
8787
# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
8888
# See configuration.py for a list of all supported configuration parameters.
89-
configuration = openapi_client.Configuration(
89+
configuration = src.IntelligentStockMarketAPI.Configuration(
9090
host = "http://https://gateway.eod-stock-api.site/api"
9191
)
9292

9393

9494
# Enter a context with an instance of the API client
95-
with openapi_client.ApiClient() as api_client:
95+
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
9696
# Create an instance of the API class
97-
api_instance = openapi_client.OptionsApi(api_client)
97+
api_instance = src.IntelligentStockMarketAPI.OptionsApi(api_client)
9898
stock_code = 'stock_code_example' # str |
9999

100100
try:

0 commit comments

Comments
 (0)