Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
/ bank Public archive

Wrappers for accessing Swedish banks. Currently supports Handelsbanken and SEB.

Notifications You must be signed in to change notification settings

klr/bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bank

Wrappers for accessing Swedish banks. Currently supports Handelsbanken and SEB.

Usage

Include KarlRoos/bank in your composer.json file for your project and install.

Create an instance of the bank you'd like to use like this:

$seb = new \KarlRoos\Bank\SEB;

Login by calling the login() method:

$seb->login($username, $password);

Fetch accounts by calling the getAccounts() method:

$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():

$transactions = $seb->getTransactions($accounts[0]);

About

Wrappers for accessing Swedish banks. Currently supports Handelsbanken and SEB.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages