A similar effort has been done long time ago in the french project Weboob (Web out of browser) in the project Boobank (you get the idea)
http://weboob.org/applications/boobank
«Boobank is a console application able to list your bank accounts balances on supported websites and to see the expenses details, transfer money, etc.»
The page exposes the banks supported.