26/12
2012
Wallogit.com
2017 © Pedro Peláez
Wrappers for accessing Swedish banks. Currently supports Handelsbanken and SEB.
Wrappers for accessing Swedish banks. Currently supports Handelsbanken and SEB., (*1)
Include KarlRoos/bank in your composer.json file for your project and install., (*2)
Create an instance of the bank you'd like to use like this:, (*3)
$seb = new \KarlRoos\Bank\SEB;
Login by calling the login() method:, (*4)
$seb->login($username, $password);
Fetch accounts by calling the getAccounts() method:, (*5)
$accounts = $seb->getAccounts();
This method returns an array with \KarlRoos\Bank\Transaction objects. To fetch transactions for a specific account you provide the Transaction object the getTransactions():, (*6)
$transactions = $seb->getTransactions($accounts[0]);