Finance::Huntington::Statement - Perl extension for parsing html bank statements from the Huntington Bank website.
use Finance::Huntington::Statement; $obj = new Finance::Huntington::Statement; $obj->parse_file (<open file handle | path to file>); print $obj->{account_name}; print $obj->{account_number}; print $obj->{last_updated}; (a time value) print $obj->{current_statement_balance}; print $obj->{available_statement_balance}; print $obj->{current_register_balance}; @atms = %{$obj->{atms}}; foreach (@atms) { print $_->{number}; print $_->{date}; print $_->{payee}; print $_->{category}; print $_->{amount}; } # The following arrays may be accessed in the same way as 'atms': # checks # debit_cards # epays # mdcs @deposits = %{$obj->{deposits}}; foreach (@deposits) { print $_->{number}; print $_->{date}; print $_->{payor}; # NOTE: only diff from others print $_->{category}; print $_->{amount}; }
This version of Statement will parse Huntington online bank statements as of 09/2000. If the statement format changes, this gets broken. Look for later versions of this module for updates to correspond with current statements.
After parsing supplied html statement, $obj will hold a data structure representing the information extracted from the page.
None by default.
Chad Lavy, chad@chadlavy.com
perl(1).
To install Finance::Huntington::Statement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Huntington::Statement
CPAN shell
perl -MCPAN -e shell install Finance::Huntington::Statement
For more information on module installation, please visit the detailed CPAN module installation guide.