uw-it-aca / uw-restclients-gws

REST client for the UW Groups Web Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REST client for the UW Groups Web Service

Build Status Coverage Status PyPi Version Python versions

Installation:

pip install UW-RestClients-GWS

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_GWS_DAO_CLASS='Live'

# Paths to UWCA cert and key files
RESTCLIENTS_GWS_CERT_FILE='/path/to/cert'
RESTCLIENTS_GWS_KEY_FILE='/path/to/key'

# Groups Web Service hostname (eval or production)
RESTCLIENTS_GWS_HOST='https://iam-ws.u.washington.edu'

Optional settings:

# Customizable parameters for urllib3
RESTCLIENTS_GWS_TIMEOUT=5
RESTCLIENTS_GWS_POOL_SIZE=10

See examples for usage. Pull requests welcome.

About

REST client for the UW Groups Web Service

License:Apache License 2.0


Languages

Language:Python 81.2%Language:HTML 18.8%