Skip to main content

Help automating LendingClub processes

Project description

https://travis-ci.org/ahartoto/lendingclub2.svg?branch=master

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 best practices 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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lendingclub2-0.2.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file lendingclub2-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lendingclub2-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54688077732ecc651123df8c95ff0730998ae4a706709bb7c7f7df4129ee1082
MD5 002ffdebc63d2107cba043732ff2e790
BLAKE2b-256 e82fbec28fc919a51b69d011c5bd06250f7ef6ee975a049e08c4d8150718b460

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page