Learn R Programming

LendingClub (version 2.0.0)

lc_MakeCredential: Create the Lending Club credential

Description

Creates the credential needed to access the other functions in this package.

Usage

lc_MakeCredential(investorID, APIkey)

Arguments

investorID

User's ID from the Account Summary page

APIkey

User's API key from the account settings page

...

See the details section for more information.

Details

This is the first step to accessing the API. Pass the function your investor ID and API key. The investor ID can be found on your account summary page and the API Key can be found on your account settings page. The function will create an object of class LendingClub_credential. If the credential is stored to the variable LC_CRED, then the other functions in the package will be able to read the credential from the global environment. Else, you may pass the credential to the other functions as an argument.

Examples

Run this code
# NOT RUN {
LC_CRED<- lc_MakeCredential("investorID", "APIkey")

# }

Run the code above in your browser using DataLab