Uw-Restclients-Bridge

A library for connecting to the Bridge API


License
Apache-2.0
Install
pip install Uw-Restclients-Bridge==1.6.4

Documentation

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