From 95abef31bfdc9ef0ce615a6a1251819f30c38ab0 Mon Sep 17 00:00:00 2001
From: Steve Crouch <s.crouch@software.ac.uk>
Date: Thu, 28 Feb 2019 12:52:49 +0000
Subject: [PATCH] Add command needed to run the Python example

---
 docs/source/guide_developer.rst | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/docs/source/guide_developer.rst b/docs/source/guide_developer.rst
index 52656f2..092db16 100644
--- a/docs/source/guide_developer.rst
+++ b/docs/source/guide_developer.rst
@@ -83,7 +83,7 @@ Then we should see something like the following (although without the formatting
 Using Python
 ~~~~~~~~~~~~
 
-We can duplicate the cURL request above in Python like this:
+We can duplicate the cURL request above in Python 3. Creating a new Python file (e.g. *api-test.py*) with the following contents:
 
 .. code-block:: python
 
@@ -97,6 +97,12 @@ We can duplicate the cURL request above in Python like this:
    response = requests.get(url, headers=headers)
    print(response)
 
+We can run this example using:
+
+.. code-block:: console
+
+   $ python api-test.py
+
 Which should display the same output as we saw with cURL.
 
 
-- 
GitLab