mrutkows commented on a change in pull request #7: Explain how OpenWhisk API 
can be used from Python
URL: 
https://github.com/apache/incubator-openwhisk-client-python/pull/7#discussion_r122715162
 
 

 ##########
 File path: README.md
 ##########
 @@ -1,5 +1,27 @@
-# openwhisk-python-cli
-## OpenWhisk Command Line Interface (CLI) written in Python.
+# incubator-openwhisk-client-python
 [![Build 
Status](https://travis-ci.org/openwhisk/openwhisk-client-python.svg?branch=master)](https://travis-ci.org/openwhisk/openwhisk-client-python)
 
-NOTE: This CLI is no longer used in production as it has been [superseded by a 
version written in 
Go](https://github.com/openwhisk/openwhisk/tree/master/tools/cli).
+There is no official Python client for OpenWhisk at the moment. However, the 
REST API of OpenWhisk can be used directly from Python, for example using the 
`requests` library:
+
+``` python
+import subprocess
+import requests
+
+APIHOST = 'https://openwhisk.ng.bluemix.net'
 
 Review comment:
   De-identify with bluemix (or provide as "an example if using..." preface.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to