Finance::Bank::Postbank_deCheck your Postbank.de bank account from Perl | |
Download |
Finance::Bank::Postbank_de Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Max Maischein
- Publisher web site:
- http://search.cpan.org/~corion/
Finance::Bank::Postbank_de Tags
Finance::Bank::Postbank_de Description
Check your Postbank.de bank account from Perl Finance::Bank::Postbank_de is a Perl module that provides a rudimentary interface to the Postbank online banking system at https://banking.postbank.de/. You will need either Crypt::SSLeay or IO::Socket::SSL installed for HTTPS support to work with LWP.The interface was cooked up by me without taking a look at the other Finance::Bank modules. If you have any proposals for a change, they are welcome !SYNOPSIS use strict; require Crypt::SSLeay; # It's a prerequisite use Finance::Bank::Postbank_de; my $account = Finance::Bank::Postbank_de->new( login => '9999999999', password => '11111', status => sub { shift; print join(" ", @_)," " if ($_ eq "HTTP Code") and ($_ != 200) or ($_ ne "HTTP Code"); }, ); # Retrieve account data : my $retrieved_statement = $account->get_account_statement(); print "Statement date : ",$retrieved_statement->balance->," "; print "Balance : ",$retrieved_statement->balance->," EUR "; # Output CSV for the transactions for my $row ($retrieved_statement->transactions) { print join( ";", map { $row->{$_} } (qw( tradedate valuedate type comment receiver sender amount )))," "; }; $account->close_session; # See Finance::Bank::Postbank_de::Account for # a simpler example Requirements: · Perl
Finance::Bank::Postbank_de Related Software