R/MakeURL.R

#' Make the search URL
#'
#' Assembles the search URL from the invstor ID and the type of query
#' @param investorID Investor ID which is the same as the account number
#' @param append string to append at the end of the URL
#' @keywords internal

MakeURL<- function(investorID, append){
    base<-"https://api.lendingclub.com/api/investor/v1/accounts/"
    paste0(base,investorID,"/",append)
    }

Try the LendingClub package in your browser

Any scripts or data that you put into this service are public.

LendingClub documentation built on May 1, 2019, 9:14 p.m.