Skip to main content

License

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 dataframe
  • get_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 DocString
  • get_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 dataframe
  • get_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 offer
  • get_stips(leadId, offset, limit=1000) - Get a list of stips to dataframe
  • get_principals(leadId, offset, limit=1000) - Get a list of principals to dataframe
  • get_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 dataframe
  • get_lead_isos(leadId, offset, limit=1000) - Get a list of lead isos to dataframe
  • get_syndication_info(leadId, offset, limit=1000) - Get a list of syndication info to dataframe
  • get_fees(leadId, offset, limit=1000) - Get a list of fee info to dataframe
  • get_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)

Source distribution for lend-saas 1.1.4
File Size Uploaded
lend-saas-1.1.4.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lend-saas 1.1.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 release files

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