opentok/Opentok-Python-SDK — pull request #3 by rdegges (2011-11-15 22:34:58+00:00)
Title: Attempting to Implement Issue #2

This allows users to easily switch between staging / production environments in
their codebase without directly modifying the OpenTokSDK.API_URL class
attribute.

Example usage::

from OpenTokSDK import OpenTokSDK
o = OpenTokSDK('api_key', 'api_secret') # uses production URL by default
o = OpenTokSDK('api_key', 'api_secret', staging=True) # use staging

This implements the functionality described in Issue #2 on github.