Finance::Card::Citibank can check your Citigroup credit card accounts from Perl.
SYNOPSIS
use Finance::Card::Citibank;
my @accounts = Finance::Card::Citibank->check_balance(
username => "xxxxxxxxxxxx",
password => "12345",
);
foreach (@accounts) {
printf " s : %8s / %8s : USD %9.2fn",
$_->name, $_->sort_code, $_->account_no, $_->balance;
}
This module provides a rudimentary interface to Citigroup online at https://www.citibank.com/us/cards/index.jsp. You will need either Crypt::SSLeay or IO::Socket::SSL installed for HTTPS support to work. WWW::Mechanize is required.
CLASS METHODS
check_balance()
check_balance( usename => $u, password => $p )
Return an array of account objects, one for each of your bank accounts.
OBJECT METHODS
$ac->name
$ac->sort_code
$ac->account_no
Return the account name, sort code and the account number. The sort code is just the name in this case, but it has been included for consistency with other Finance::Bank::* modules.
$ac->balance
Return the account balance as a signed floating point value.
Product's homepage
Requirements:
· Perl