3 ms·
I have a script that logs into my bank's web interface, and extracts my current balance. I subtract out my upcoming bills/savings transactions to tell me how mu
by d0lph 9y ago
I have a script that logs into my bank's web interface, and extracts my current balance. I subtract out my upcoming bills/savings transactions to tell me how much money I can spend until my next paycheck. My next step is to have it email the amount spendable every morning.
I'm using python 3, selenium, and SQLAlchemy connected to a home MySQL server.
- seriousQ 9y agoCould you share your codes?
- d0lph 9y agoThe code's a bit rough, I have a bit of cleanup to go before I publish it.
- brianjking 9y agoVery cool, please let me know when you release it! I'd love to check it out.
- x775 9y agoThat is a neat idea! I should deploy something similar. Thanks!
- scrumper 9y agoThis is a good idea and it's on my very long nice-to-have list. How are you driving the browser? Some sort of UI testing library? My bank has no API so it'd have to screen scrape. EDIT: Sorry, I can see that it says it right there in your post: Selenium. Leaving up my stupid question as a marker of shame.
- peterdemin 9y agoCheck out https://peterdemin.github.io/kibitzr-banks.html https://peterdemin.github.io/kibitzr-banks.html It does almost the same
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]
- icebraining 9y agoSame here, though I only store them in a plain text file. My tip for others trying the same is to look into your bank's mobile site, if they have one. Mine was much simpler to parse, I only needed a single XPath expression to extract the number. Also, if your bank's site is AJAX-y, look into the network tab of your browser, chances are you can find an URL that sends you a nice JSON back with the data you need.