Update app.js
Browse files
app.js
CHANGED
@@ -13,7 +13,7 @@ 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\nSearch : /api/search/:<symbol/name>\nQuote : /api/quote/:<symbol>\nChart : /api/chart/:<symbol>?interval=<interval>&range=<range>\nSummary : /api/summary/:<symbol
|
17 |
})
|
18 |
|
19 |
app.get('/api/search/:query', async (req, res) => {
|
|
|
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>\nSummary : /api/summary/:<symbol>\nAssetProfile : /api/assetprofile/:<symbol>\nBalancesheet : /api/balancesheet/:<symbol>\nCalendar events : /api/calendar/:<symbol>\nCashflow statements : /api/cashflow/:<symbol>');
|
17 |
})
|
18 |
|
19 |
app.get('/api/search/:query', async (req, res) => {
|