Giter Site home page Giter Site logo

schwab-scraper's Introduction

Schwab Scraper

This is a rudimentary brute-force scraper to grab transaction data from a Schwab.com checking account and write the output in CSV.

There's some (currently unused) code in there to attempt modularity (like writing to JSON, or supporting different CSV formats), but it's half-baked.

Mostly, I put this together since Schwab doesn't have a "Download as CSV" option like other banks do, and this is a good first-step to treating their website as an API to use in my own personal financing application.

Usage

$ npm install
$ phantomjs --ssl-protocol=any scrape.js

This will save your transactions to a file transactions.csv. Have a look at the code to change the "go back to" date, or change the default output format.

You'll need to provide your username and password to login to your Schwab account, but as you can see in the code, it's not stored (except for maybe in your terminal history, since I couldn't figure that part of system.stdin out for phantomjs), and it's not sent anywhere else.

schwab-scraper's People

Stargazers

Jeff Kingyens avatar  avatar

Watchers

R. Kevin Nelson avatar James Cloos avatar  avatar

Forkers

smacm

schwab-scraper's Issues

usage

Sorry for what is potentially a newbie usage question... I already have node installed but can't seem to start the scrape process:

Nicholass-Air:schwab-scraper-master njm$ phantomjs --ssl-protocol=any scrape.js`
-bash: phantomjs: command not found

Tried running npm install again within the directory where I downloaded the package contents, but install fails:

Nicholass-Air:schwab-scraper-master njm$ sudo npm install
Password:
npm WARN enoent ENOENT, open '/Users/njm/package.json'
npm WARN njm No description
npm WARN njm No repository field.
npm WARN njm No README data
npm WARN njm No license field.

Any advice to get this running? Your help would be most appreciated!

/br

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.