Skip to content

samucars/bank-scraper-api

Repository files navigation

bank-scraper-api

Build Status Coverage Status

API for collecting bank data using the library puppeteer

WARNING: Your account can be blocked if you error your password

The scraper sets a few seconds of waiting between navigations of the pages this can cause errors in the API return if your internet connection is not good.

Dependencies

Build Setup

# install dependencies
npm install

# env port express (default 3000)
export PORT=3000

# start server
npm start

Testing

# run unit tests
npm test

APIs

For now supports only itau

1. POST /itau

body:
{
  branch: '',
  bankaccount: '',
  password: ''
}

The average response time is 50 seconds

Future resources

  • Create integration tests
  • Integration with other banks
  • Performance improvement