I am winding my account down but I was investing using my own scripts up until last summer. Try the following. Best of luck.
import requests (among the others you need)
basic_header = {'authorization': 'YOUR_API_KEY'}
urlLoans = 'https://api.lendingclub.com/api/investor/v1/loans/listing'
r = requests.get(urlLoans, headers=basic_header)
loan_data = r.json()
# parse, filter, etc.