juscilan / olivia-ai

Scraping Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instalation and Run

npm i
npm start

Running unit tests suite

npm test
npm run test:full

Expected return

{
  stock: 'GOOG',
  IPO: '2004',
  industry: 'Internet Content & Information',
  yearlyFinancials: [
    {
      year: '12/2016',
      equity: '19285',
      revenue: '135987',
      ebitda: '12492'
    },
    {
      year: '12/2017',
      equity: '27709',
      revenue: '177866',
      ebitda: '16132'
    },
    {
      year: '12/2018',
      equity: '43549',
      revenue: '232887',
      ebitda: '28019'
    }
  ],
  data: {
    open: 75.3,
    high: 75.89,
    low: 74.54,
    mkt_cap: '-',
    pe_ratio: '-',
    div_yield: '-',
    prev_close: 75.3,
    '52-wk_high': 371.1,
    '52-wk_low': 57.96
  }
}

juscilan.com

About

Scraping Challenge


Languages

Language:JavaScript 80.3%Language:HTML 19.7%