Skip to main content

Lending Club API

Welcome to the unofficial Lending Club Python API. This library is inspired by the LendingClub library, but utilizes the REST API endpoints and applies the from Lending Club. For more complete information about Lending Club's REST API, please go to this page.

Requirements

This library expects that the user has pre-generated the Authentication key. If you are unfamiliar with it, please go to Lending Club documentation page to find the instructions on how to generate one.

The authentication key can be passed to the application as an environment variable ($LENDING_CLUB_API_KEY) or using the configuration file.

User is also expected to know their investor ID number. Please login to your Lending Club account to find your investor ID number. The investor ID number can be passed to the application as an environment variable ($LENDING_CLUB_INVESTOR_ID) or using the configuration file.

Configuration File

If user chooses to specify either the authentication key or investor ID number using the configuration file, the configuration file has to include the following information:

[access]
api_key = THIS_IS_EXAMPLE_API_KEY=

[account]
investor_id = 123456789

The location of the configuration file by default is $HOME/.lendingclub, but user can override it by specifying the custom path using $LENDING_CLUB_CONFIG environment variable.

Examples

from lendingclub2.account import InvestorAccount

# Find information about account's available balance
account = InvestorAccount()
print(account.available_balance)

Metadata

Release files for lendingclub2 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for lendingclub2 0.5.2
File Interpreter ABI Platform
lendingclub2-0.5.2-py3-none-any.whl Python 3 none any Details

Release files / lendingclub2-0.5.2-py3-none-any.whl

Download URL lendingclub2-0.5.2-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bd0d4262d4233674f2640721c6d5072a6e9343f134b5159bfdcecb923b0c6b8
BLAKE2b-256 checksum
How to use checksums
ef247cfad675ac1b0580199dd54713041d486658ad5c4f77afc50cc7266bdb99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.5.2 This release

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page