Banks provide an API in Europe. In fact it's a legal requirement that's coming into force in 2019, and there are a lot of 'mobile-first' banks like Monzo and Revolut which make this entirely un-needed in the first place (providing spending exports, decent analytics, push notifications, etc etc).
Welcome to the future. Contact your local politician if you want to join us. Maybe also ask about chip and pin while you're at it!