lendingclub-0.1.1: Bindings for the LendingClub marketplace API

Safe HaskellNone
LanguageHaskell2010

LendingClub

Contents

Synopsis

Commands

listingFromNote :: Authorization -> Note -> IO (Maybe Listing) Source

Does not talk to LendingClub's listings endpoint. This uses in-memory data to retrieve listings.

TODO This thing is pretty much useles... Need to access historical listings

Account

Authorization

Invest

Listing

data Listing Source

Constructors

Listing 

Fields

listingId :: !Int
 
listingGrade :: !Grade

analogous to ProsperRating

subGrade :: !SubGrade

maybe analogous to score?

purpose :: !Purpose

"purpose" in the API

fundedAmount :: !Money
 
offer :: !Offer

Contract data

credit :: !Credit

Credit data

Instances

Eq Listing

Two listings are equivalent if their serial numbers are equal

Show Listing 
FromJSON Listing 

data Offer Source

Data related to the listing's offer and contract terms

Constructors

Offer 

Fields

requestAmount :: !Money
 
rate :: !Double

Interest rate for the borrower

termInMonths :: !Int

Integer number of months

Instances

data Credit Source

Data related to the credibility of the listing

Instances

data Grade Source

Constructors

G 
F 
E 
D 
C 
B 
A 

Note

Types