Update app.js
Browse files
app.js
CHANGED
@@ -13,10 +13,8 @@ app.use(express.json());
|
|
13 |
|
14 |
app.get('/', (req, res) => {
|
15 |
res.setHeader('Content-Type', 'text/plain');
|
16 |
-
res.end('This is Yahoo finance api \n
|
17 |
-
|
18 |
-
res.end('Chart : /api/chart/:<symbol>?interval=<interval>&range=<range>')
|
19 |
-
res.end('Summary : /api/summary/:<symbol>')
|
20 |
res.end('AssetProfile : /api/assetprofile/:<symbol>')
|
21 |
res.end('Balancesheet : /api/balancesheet/:<symbol>')
|
22 |
res.end('Calendar events : /api/calendar/:<symbol>')
|
|
|
13 |
|
14 |
app.get('/', (req, res) => {
|
15 |
res.setHeader('Content-Type', 'text/plain');
|
16 |
+
res.end('This is Yahoo finance api \n\nSearch : /api/search/:<symbol/name>\nQuote : /api/quote/:<symbol>\nChart : /api/chart/:<symbol>?interval=<interval>&range=<range>',
|
17 |
+
'\nSummary : /api/summary/:<symbol>');
|
|
|
|
|
18 |
res.end('AssetProfile : /api/assetprofile/:<symbol>')
|
19 |
res.end('Balancesheet : /api/balancesheet/:<symbol>')
|
20 |
res.end('Calendar events : /api/calendar/:<symbol>')
|