UW-RestClients-KWS

A library for connecting to the KWS at the University of Washington


License
Apache-2.0
Install
pip install UW-RestClients-KWS==1.1.2

Documentation

REST client for the UW Key Web Service

Build Status Coverage Status PyPi Version Python versions

Installation:

pip install UW-RestClients-KWS

To use this client, you'll need these settings in your application or script:

# Specifies whether requests should use live or mocked resources,
# acceptable values are 'Live' or 'Mock' (default)
RESTCLIENTS_KWS_DAO_CLASS='Live'

# Paths to cert and key files
RESTCLIENTS_KWS_CERT_FILE='/path/to/cert'
RESTCLIENTS_KWS_KEY_FILE='/path/to/key'

# Key Web Service hostname (eval or production)
RESTCLIENTS_KWS_HOST='https://ws.admin.washington.edu'

Optional settings:

# Customizable parameters for urllib3
RESTCLIENTS_KWS_TIMEOUT=5
RESTCLIENTS_KWS_POOL_SIZE=10