Use this python library to manage PPP Loan resources through the Payroll Protection Program Portal Python SDK.
The SDK supports the following versions of Python:
- Python 2 versions 2.7 and later
- Python 3 versions 3.4 and later
The SDK requires the following libraries:
- requests
- python-dateutil
You can download or clone the sdk (PPPForgivenessSDK) and then install the SDK by running Setuptools in the SDK installation directory:
python setup.py install --user
- create_forgiveness_request.py
- create_forgiveness_request_3508s.py
- delete_forgiveness_request.py
- list_forgiveness_requests.py
- read_forgiveness_requests_by_slug.py
- read_forgiveness_requests_by_sbanumber.py
- list_document_types.py
- read_document_type.py
- create_loan_document.py
Request an API token and vendor key
Now make your first API call....
- copy the file
/examples
examples/list_document_type.py
to a working directory. - change directoy to the working directory
edit the file list_document_type.py, changing the lines
python client = Client( access_token='{{YOUR_TOKEN_HERE}}', vendor_key='{{YOUR_VENDOR_KEY}}, environment='sandbox' )
by replacing '{{YOUR_TOKEN_HERE}}' with your assigned token - In a command/console window, run the modified file with
python list_document_type.py'
CONGRATULATIONS - if your host is properly configured and your token valid, you console should display results of your first API call
For additional examples and documentation, refer the API documentation
and API examples
sections above.
Examples require addition of valid key and parameters before they will function