Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 2.37 KB

README.md

File metadata and controls

62 lines (49 loc) · 2.37 KB

Payroll Protection Program Portal Python SDK

Use this python library to manage PPP Loan resources through the Payroll Protection Program Portal Python SDK.

Requirements

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

Installation

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

API documentation

Sample Use Cases

API examples

Usage

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