Finance::Bank::Barclays - Check your Barclays bank accounts from Perl
use Finance::Bank::Barclays; my @accounts = Finance::Bank::Barclays->check_balance( memnumber => "xxxxxxxxxxxx", passcode => "12345", surname => "Smith", password => "xxxxxxxx" ); foreach (@accounts) { printf "%8s %8s : GBP %8.2f\n", $_->{sort_code}, $_->{account_no}, $_->{balance}; }
This module provides a rudimentary interface to the Barclays Online Banking service at https://ibank.barclays.co.uk. You will need either Crypt::SSLeay or IO::Socket::SSL installed for HTTPS support to work. WWW::Mechanize is required.
https://ibank.barclays.co.uk
Crypt::SSLeay
IO::Socket::SSL
WWW::Mechanize
check_balance(memnumber => $u, passcode => $p, surname => $s, password => $w)
Return an array of account objects, one for each of your bank accounts.
$ac->sort_code $ac->account_no
Return the account sort code (in the format XX-YY-ZZ) and the account number.
$ac->balance
Return the account balance as a signed floating point value.
This warning is from Simon Cozens' Finance::Bank::LloydsTSB, and seems just as apt here.
Finance::Bank::LloydsTSB
This is code for online banking, and that means your money, and that means BE CAREFUL. You are encouraged, nay, expected, to audit the source of this module yourself to reassure yourself that I am not doing anything untoward with your banking data. This software is useful to me, but is provided under NO GUARANTEE, explicit or implied.
Simon Cozens for Finance::Bank::LloydsTSB and Perl hand-holding. Chris Ball for Finance::Bank::HSBC.
Finance::Bank::HSBC
Dave Holland dave@biff.org.uk
dave@biff.org.uk
To install Finance::Bank::Barclays, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Bank::Barclays
CPAN shell
perl -MCPAN -e shell install Finance::Bank::Barclays
For more information on module installation, please visit the detailed CPAN module installation guide.