UW-RestClients-AdSel

A library for connecting to the AdSel API at the University of Washington


License
Apache-2.0
Install
pip install UW-RestClients-AdSel==2.1.1

Documentation

Build Status Coverage Status

REST client for AdSel

Installation:

pip install UW-RestClients-AdSel

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

# Paths to UWCA cert and key files
RESTCLIENTS_ADSEL_CERT_FILE='/path/to/cert'
RESTCLIENTS_ADSEL_KEY_FILE='/path/to/key'

# AdSel REST API hostname (eval or production)
RESTCLIENTS_ADSEL_HOST='https://zoom.com'

Optional settings:

# Customizable parameters for urllib3
RESTCLIENTS_ADSEL_TIMEOUT=5
RESTCLIENTS_ADSEL_POOL_SIZE=10

See examples for usage. Pull requests welcome.