Lend-SaaS
A LendingSaaS Python Client Library
For an overview of the LendSaaS API, click here.
Requirements
- Python >= 3.6
Getting started
pip install lend-saas
lend-saas is simple to use -- take a look at the below example:
from lendSaaS import LendClient
ls = LendClient('api_key', 'client_name')
Available methods:
Leads Object (ls.leads)
# For example:
df = ls.leads.get_lead(lead_id)
print(df.head(2))
get_leads(submittedMinDate, submittedMaxDate, offset, limit=1000)- Get a list of leads to dataframeget_lead(lead_id)- Get info about specific lead. Use LeadId from get leads query.get_lead_payment_promise(lead_id)- Get info payment promise. Use LeadId from get leads query.get_lead_external_data(lead_id)- Get external data on specific lead. Use LeadId from get leads query. Possible Values are in DocStringget_notes(lead_id, startDate, endDate, offset, limit=5000)- Get notes about leads. Use LeadId from get leads query.get_ach_schedule(lead_id, startDate, endDate, offset, limit=5000)- Get info about ach payment schedule. Use LeadId from get leads query.get_underwriting_info(lead_id, submittedMinDate, submittedMaxDate, offset, limit=5000)- Get info about underwriting info. Use LeadId from get leads query.
Funding Object (ls.funding)
get_account_monitoring(amStatusId, wlpId, includeClosedDeals)- Get a dataframe of account monitoring. Args are required.get_funding_stats(sdate, edate)- Get dataframe of funding stats based on date parameters
Underwriting Object (ls.Underwriting)
get_offers(leadId, offset, limit=1000)- Get a list of offers given to dataframeget_positions(leadId, offset, limit=1000)- Get a list of positions to dataframe - offset and limit are required fields.get_offer(offer_id)- Get info on specific offerget_stips(leadId, offset, limit=1000)- Get a list of stips to dataframeget_principals(leadId, offset, limit=1000)- Get a list of principals to dataframeget_banking_worksheet(leadId, offset, limit=1000)- Get a list of banking worksheets to dataframe. Needs more work to flatten out actual worksheet column.get_uw_status_history(leadId, offset, limit=1000)- Get a list of uw status to dataframeget_lead_isos(leadId, offset, limit=1000)- Get a list of lead isos to dataframeget_syndication_info(leadId, offset, limit=1000)- Get a list of syndication info to dataframeget_fees(leadId, offset, limit=1000)- Get a list of fee info to dataframeget_external_data(lead_id, offset, limit=100, source='experian', product=['Credit Profile', 'Bank Statements'])- Get info about specific lead. Use LeadId from get leads query. Possible Values are in DocString
Tests
Not working as of yet
TO DO
Finish Tests with Mock API
Metadata
Release files for lend-saas 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lend-saas-1.1.4.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lend_saas-1.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / lend-saas-1.1.4.tar.gz
| Download URL | lend-saas-1.1.4.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd49c41dfc43fd993472a4d812d7fbb9829a044b63ddf794dc943cc990e58b67
|
|
BLAKE2b-256 checksum How to use checksums |
8e35999608d8ae295b13133b533715e07bee854e9413f5932c8e91a83f24414e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0
|
Release files / lend_saas-1.1.4-py3-none-any.whl
| Download URL | lend_saas-1.1.4-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f8120308215e670dec511efcd9255fd19edcf2089b52721560f8c469d59fdc7
|
|
BLAKE2b-256 checksum How to use checksums |
00622578c2b57f7466c21fffbd099dc5b22559d6fb59bbdb0706a85a77174934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0
|