Get the requisite: AqBanking via Homebrew on Mac OS X:
brew install aqbanking
# ↑ At the time of writing (2011-12-28) this will get you AqBanking v5.0.16
Now set up your ING-DiBa online banking account (needs activated HBCI interface):
ktoblzcheck 50010517 5400040302
aqhbci-tool4 --help
aqhbci-tool4 adduser -N philipp -u 5400040302 -b 50010517 -s https://fints.ing-diba.de/fints/ -t pintan --hbciversion=220
# ↓ not needed for ING-DiBa (but possibly for Sparkasse, VR-Bank etc.)
#aqhbci-tool4 listitanmodes -b <blz>
#aqhbci-tool4 setitanmode -b <blz> -m 911
# ↓ not really needed (done automatically when running getsysid)
#aqhbci-tool4 getcert
aqhbci-tool4 getsysid
aqhbci-tool4 getaccounts
aqhbci-tool4 listaccounts
This will set up your aqbanking settings in .aqbanking/settings/.
Now you’re ready to query your transactions: