A Python client library for LendSaaS.com
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lend-saas-1.1.4.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file lend-saas-1.1.4.tar.gz
.
File metadata
- Download URL: lend-saas-1.1.4.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd49c41dfc43fd993472a4d812d7fbb9829a044b63ddf794dc943cc990e58b67 |
|
MD5 | b29442689e3ec441a16a27a77b2b4717 |
|
BLAKE2b-256 | 8e35999608d8ae295b13133b533715e07bee854e9413f5932c8e91a83f24414e |
File details
Details for the file lend_saas-1.1.4-py3-none-any.whl
.
File metadata
- Download URL: lend_saas-1.1.4-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f8120308215e670dec511efcd9255fd19edcf2089b52721560f8c469d59fdc7 |
|
MD5 | 06c514eebbc1649b9a23a863623347e2 |
|
BLAKE2b-256 | 00622578c2b57f7466c21fffbd099dc5b22559d6fb59bbdb0706a85a77174934 |