ka1kuk commited on
Commit
03e09a7
1 Parent(s): 3a609a3

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -16
app.js CHANGED
@@ -13,22 +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>',
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>')
21
- res.end('Cashflow statements : /api/cashflow/:<symbol>')
22
- res.end('Statistic : /api/statistic/:<symbol>')
23
- res.end('Earnings : /api/earnings/:<symbol>')
24
- res.end('Financial : /api/financial/:<symbol>')
25
- res.end('Fund : /api/fund/:<symbol>')
26
- res.end('Income statements : /api/ income/:<symbol>')
27
- res.end('Trending : /api/trend/:<symbol>')
28
- res.end('Insider : /api/insider/:<symbol>')
29
- res.end('Major holders : /api/major/:<symbol>')
30
- res.end('Netshare : /api/netshare/:<symbol>')
31
- res.end('Recommendation trend : /api/recommend/:<symbol>')
32
  })
33
 
34
  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>AssetProfile : /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) => {