PHP code example of kravock / php-cba-netbank
1. Go to this page and download the library: Download kravock/php-cba-netbank library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kravock / php-cba-netbank example snippets
bash
$ composer
php
$api = new Kravock\Netbank\API();
$accounts = $api->login('CLIENT_NUMBER', 'PASSWORD');
foreach ($accounts as $bsbNumber => $account) {
$transactions = $api->getTransactions($accounts[$bsbNumber], '12/04/2017', '22/04/2017');
}