15 lines
839 B
Bash
15 lines
839 B
Bash
PW="P6j5d&C8RBzy1m!W0h@A"
|
|
acct="22624662"
|
|
checkingid="${acct}~9"
|
|
savingsid="${acct}~1"
|
|
visaid="${acct}~6"
|
|
moneymrktid="${acct}~7"
|
|
bankid=324377516
|
|
lastdate=$(<afcu/last_afcu_date)
|
|
|
|
python3 -m ofxtools.scripts.ofxget stmt americafirst --pretty -u $acct --password $PW --checking $checkingid --bankid $bankid -s $lastdate > afcu/checking.ofx
|
|
python3 -m ofxtools.scripts.ofxget stmt americafirst --pretty -u $acct --password $PW --savings $savingsid --bankid $bankid -s $lastdate > afcu/savings.ofx
|
|
python3 -m ofxtools.scripts.ofxget stmt americafirst --pretty -u $acct --password $PW --creditcard $visaid --bankid $bankid -s $lastdate > afcu/visa.ofx
|
|
python3 -m ofxtools.scripts.ofxget stmt americafirst --pretty -u $acct --password $PW --moneymrkt $moneymrktid --bankid $bankid -s $lastdate > afcu/mm.ofx
|
|
date +%Y%m%d > afcu/last_afcu_date
|