| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
LendingClub.Internal.JSON
- jsonGet :: FromJSON a => Authorization -> ByteString -> IO a
- investRequest :: Authorization -> InvestorId -> Int -> Money -> IO InvestResponse
Documentation
Arguments
| :: FromJSON a | |
| => Authorization | The authorization for the lending club user |
| -> ByteString | The name of the API service, relative to the API url |
| -> IO a | JSON response |
Make a GET request to LendingClub's JSON api, return the parsed JSON data
Arguments
| :: Authorization | |
| -> InvestorId | |
| -> Int | The listing id |
| -> Money | Amount |
| -> IO InvestResponse | JSON response from LendingClub |