Safe Haskell | None |
---|---|
Language | Haskell2010 |
- invest :: User -> Money -> Listing -> IO InvestResponse
- account :: User -> IO Account
- allListings :: User -> IO (Vector Listing)
- notes :: User -> IO (Vector Note)
- listingFromNote :: User -> Note -> IO (Maybe Listing)
- listingCSV :: User -> Listing -> (InputStream ByteString -> IO a) -> IO a
- data AccountException = AccountException ByteString
Documentation
allListings :: User -> IO (Vector Listing) Source
Send a request to the Listings end-point at Prosper
listingCSV :: User -> Listing -> (InputStream ByteString -> IO a) -> IO a Source
Request a particular Listing
via the CSV endpoint
data AccountException Source
Used as a hack around the 500 Critical Exception error