A Lending Club API Wrapper

Functions to access Lending Club's API and assist the investor manage their account. Lending Club is a peer-to-peer lending service where loans are broken up into $25 notes that investors buy with the expectation of earning a return on the interest. You can learn more about the API here: < http://www.lendingclub.com/developers/lc-api.action>.


This package helps you make transactions and manage the funds in your Lending Club account. The functions can be lumped into 3 groups: Account Management, Transferring Funds, and Transacting Loans.

Account Management

  • AccountSummary
  • AvailableCash
  • PortfoliosOwned
  • CreatePortfolio
  • DetailNotesOwned
  • NotesOwned

Transfer Funds

  • PendingTransfers
  • AddFunds
  • WithdrawFunds
  • CancelTransfers

Transacting Loans

  • ListedLoans
  • SubmitOrder
  • FolioListing
  • FolioSell
  • FolioBuy

You can install the stable version on CRAN:

install.packages("LendingClub")
library(LendingClub)

Or use devtools to install the development version from Github:

devtools::install_github("kuhnrl30/LendingClub")
library(LendingClub)

To use this package, you'll first need to create a credential from your account number and API key. This credential can be saved to the global environment and the other functions will detect it. Use the MakeCredential() function and pass it your investorID number and your API key. You can find the InvestorID on your account summary page and the API key on the Account Settings page.

LC_CRED<- MakeCredential(investorID, APIkey)
ListedLoans()
AccountSummary()

This package is free and open source software, licensed under MIT.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("LendingClub")

1.0.3 by Ryan Kuhn, 5 months ago


https://github.com/kuhnrl30/LendingClub


Report a bug at https://github.com/kuhnrl30/LendingClub/issues


Browse source code at https://github.com/cran/LendingClub


Authors: Ryan Kuhn [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, plyr, httr, jsonlite, utils

Suggests knitr


See at CRAN