Skip to content

Fetch transactions from HDFC Netbanking, parse them, and update the specified Google Sheet.

Notifications You must be signed in to change notification settings

me-heer/hdfc_to_google_sheets_sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HDFC to Google Sheets Sync

Download transactions from HDFC Netbanking, parse them and update Google Sheets.

Demo

Disclaimer

  • This repository is solely to be used for your convenience. I am not an affiliate to or with HDFC Bank in any way shape or form.
  • The script is only intended to be used with valid credentials. It was solely created to automate, and accelerate the process of downloading transactions from HDFC website and it is done so by visiting the website through a headless browser.

Dependencies

  • This script uses Chrome Webdriver to download transactions file. For this, you need to have Chrome installed and a compatible version of Chrome Webdriver placed in the /driver directory. You can use any other Webdriver, though.
  • A sample .env file is provided at the root of this repository, to run this script, you need to fill in the variables according to your setup. Make sure your bank username and password are not accidentally pushed to Github. (Note: The TRANSACTIONS_FILE_PATH directory you provide will be used to download the transactions file, and after successful execution, clear the directory. Please make sure the transactions directory is solely used for this script.)
  • You also need to create a Google Cloud Project and create credentials for it, but it should be straightforward. Please refer to this link: https://developers.google.com/sheets/api/quickstart/python

Usage

usage: main.py [-h] [-f FROM_DATE] [-t TO_DATE]

A script to web scrape HDFC Netbanking Transactions and add them to Google Sheets

options:
  -h, --help            show this help message and exit
  -f FROM_DATE, --from-date FROM_DATE
                        transactions will be fetched from this date, format= dd/mm/YYYY
  -t TO_DATE, --to-date TO_DATE
                        transactions will be fetched to this date, format=dd/mm/YYYY

About

Fetch transactions from HDFC Netbanking, parse them, and update the specified Google Sheet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published