bank_scripts/macu.sh
2023-06-01 17:10:22 -07:00

16 lines
836 B
Bash

PW="p7xVHXq2*pCG4i!9td*B"
login="calebyoung94"
acct="9061150"
checkingid="${acct}~50"
savingsid="${acct}~1"
visaid="${acct}~6"
#moneymrktid="${acct}~7"
bankid=324079555
lastdate=$(<macu/last_macu_date)
python3 -m ofxtools.scripts.ofxget stmt macu --pretty -u $login --password $PW --checking $checkingid --bankid $bankid -s $lastdate > macu/checking.ofx
#python3 -m ofxtools.scripts.ofxget stmt macu --pretty -u $login --password $PW --savings $savingsid --bankid $bankid -s $lastdate > macu/savings.ofx
#python3 -m ofxtools.scripts.ofxget stmt macu --pretty -u $login --password $PW --creditcard $visaid --bankid $bankid -s $lastdate > macu/visa.ofx
#python3 -m ofxtools.scripts.ofxget stmt macu --pretty -u $login --password $PW --moneymrkt $moneymrktid --bankid $bankid -s $lastdate > macu/mm.ofx
date +%Y%m%d > macu/last_macu_date