An open API service indexing awesome lists of open source software.

https://github.com/sahlhoff/lending-club-api

Lending Club API
https://github.com/sahlhoff/lending-club-api

Last synced: 3 months ago
JSON representation

Lending Club API

Awesome Lists containing this project

README

          

# lending-club-api
Unofficial Lending Club API

Install:

```
npm install lending-api
```

How to use it:

Require lending-api:

```js
var LendingClub = require('lending-api');

var lendingClub = new LendingClub({
key: config.key,
investorId: config.investorId
});

```

Make a call to the API using a chosen method.

```js
lendingClub.loans.list(function(err, data){
if(err) return done(err);
console.log(data);
});
```

The following methods have been implemented and work against the Lending Club api.

- lendingClub.loans.list
- lendingClub.account.summary
- lendingClub.account.availableCash
- lendingClub.account.transfer.add
- lendingClub.account.transfer.withdraw
- lendingClub.account.pendingTransfers
- lendingClub.account.cancelTransfers
- lendingClub.account.notesOwned
- lendingClub.account.detailedNotesOwned
- lendingClub.account.portFoliosOwned
- lendingClub.account.createPortfolio
- lendingClub.account.submitOrder