From 586a57d0ec3265bd5e31da756966229b998a9531 Mon Sep 17 00:00:00 2001 From: sneakypete81 Date: Sun, 18 Aug 2013 19:38:44 +0100 Subject: [PATCH] Updated Python README for v0.5 --- docs/libraries/python.rst | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/libraries/python.rst b/docs/libraries/python.rst index e66dba1..c656a89 100644 --- a/docs/libraries/python.rst +++ b/docs/libraries/python.rst @@ -3,7 +3,7 @@ Trovebox Python Library ======================= (Previously known as openphoto-python) -.. image:: https://api.travis-ci.org/photo/openphoto-python.png +.. image:: https://travis-ci.org/photo/openphoto-python.png?branch=master :alt: Build Status :target: https://travis-ci.org/photo/openphoto-python @@ -77,11 +77,16 @@ API Versioning ============== It may be useful to lock your application to a particular version of the Trovebox API. This ensures that future API updates won't cause unexpected breakages. +To do this, configure your Trovebox client as follows:: -To do this, add the optional ``api_version`` parameter when creating the client object:: + client.configure(api_version=2) - from trovebox import Trovebox - client = Trovebox(api_version=2) +SSL Verification +================ +If you connect to your Trovebox server over HTTPS, its SSL certificate is automatically verified. +You can configure your Trovebox client to bypass this verification step:: + + client.configure(ssl_verify=False) Commandline Tool ================