NAME
LendingClub::Api - perl module interface to the LendingClub API
SYNOPSIS
use LendingClub::API;
use Data::Dumper;
# public functions do not require any options
my $lcapi_object = new LendingClub::API( "this-is-not-a-real-investor-id", "this-is-not-a-real-key" );
print Dumper( $lcapi_object->available_cash() ) ."\n";
print Dumper( $lcapi_object->summary() ) ."\n";
print Dumper( $lcapi_object->notes_owned() ) ."\n";
print Dumper( $lcapi_object->detailed_notes_owned() ) ."\n";
print Dumper( $lcapi_object->portfolios_owned() ) ."\n";
print Dumper( $lcapi_object->listed_loans() ) ."\n";
DESCRIPTION
Implements the LendingClub API described at https://www.lendingclub.com/developers/lc-api.action as a perl module
Account information functions
- my $available_cash = $lcapi_object->available_cash();
-
Returns the available cash for account.
- my $summary = $lcapi_object->summary();
-
Returns the summary for account
- my $notes = $lcapi_object->notes_owned();
-
Returns the notes owned by account.
- my $detailed_notes = $lcapi_object->detailed_notes_owned();
-
Returns the detailed notes owned by account.
- my $portfolios = $lcapi_object->portfolios_owned();
-
Returns the portfolios owned by account.
Loan information
TODO
Add comprehensive unit tests to module distribution
Add client error handling
Fix any bugs that anybody reports
Write better documentation. Always write better documentation
SEE ALSO
See https://www.lendingclub.com/developers/lc-api.action for the most updated API docs and more details on each of the functions listed here.
VERSION
$Id: API.pm,v 0.1.0 2014/06/08 09:08:00 CRYPTOGRA Exp $
AUTHOR
Michael W. Renz, <cryptographrix+cpan at gmail.com>