Skip to content

uw-it-aca/uw-restclients-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST client for the Bridge Web Service API

UW-Restclients-Bridge

Build Status Coverage Status PyPi Version Python versions

Installation:

pip install uw-restclients-bridge

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

# Basic Auth key and value pair
RESTCLIENTS_BRIDGE_BASIC_AUTH_KEY='...'
RESTCLIENTS_BRIDGE_BASIC_AUTH_SECRET='...'

# Bridge WS URL prefix
RESTCLIENTS_BRIDGE_HOST='https://...bridgeapp.com'

Optional settings:

# Customizable parameters for urllib3
RESTCLIENTS_BRIDGE_TIMEOUT=60
RESTCLIENTS_BRIDGE_POOL_SIZE=10