Skip to content

uw-it-aca/uw-restclients-kws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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