lendingclub-0.1.1: Bindings for the LendingClub marketplace API

Safe HaskellNone
LanguageHaskell2010

LendingClub.Internal.JSON

Synopsis

Documentation

jsonGet Source

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

investRequest Source

Arguments

:: Authorization 
-> InvestorId 
-> Int

The listing id

-> Money

Amount

-> IO InvestResponse

JSON response from LendingClub