- SEE ALSO
- COPYRIGHT AND LICENSE
Finance::OFX - An OFX client implementation.
use Finance::OFX; use Finance::OFX::Institution; my $fi = Finance::OFX::Institution->new(ORG => $org, FID => $fid, URL => $url); my $ofx = Finance::OFX->new(userID=>$user, userPass=>$pass, Institution => $fi); my @accounts = $ofx->accounts;
Finance::OFX provides several convenience functions for interacting with OFX servers.
- $ua = Finance::OFX->new( %options )
Constructs a new
Finance::OFXobject and returns it.
%optionscan be anything accepted by Finance::OFX::UserAgent.
Get/Set the OFX user ID. Wraps Finance::OFX::UserAgent::user_id().
Get/Set the OFX user password. Wraps Finance::OFX::UserAgent::user_pass().
These are convenience functions that wrap calls to Finance::OFX::UserAgent and post-process the results.
Get a list of the user's accounts at the configured Financial Institution.
- $ofx->balance( $acct )
Get the latest balance statement for the given account at the configured Financial Institution.
- $ofx->transactions( $acct [ $start [ $end ] ] )
Get the transaction list for the given account. Some Financial Institutions will accept a full, or partial, date range. Others simply ignore the date range.
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.
Brandon Fosdick, <email@example.com>
COPYRIGHT AND LICENSE
Copyright 2008 Brandon Fosdick <firstname.lastname@example.org>
This software is provided under the terms of the BSD License.