Safe Haskell | None |
---|---|
Language | Haskell2010 |
- jsonGet :: FromJSON a => Authorization -> ByteString -> IO a
- investRequest :: Authorization -> InvestorId -> Int -> Money -> IO InvestResponse
Documentation
:: 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
:: Authorization | |
-> InvestorId | |
-> Int | The listing id |
-> Money | Amount |
-> IO InvestResponse | JSON response from LendingClub |