Add Apache 2 License badge to README. (#9)
diff --git a/README.md b/README.md index fc9cde4..351984f 100644 --- a/README.md +++ b/README.md
@@ -1,4 +1,6 @@ -# incubator-openwhisk-client-python +# OpenWhisk Client for Python + +[](http://www.apache.org/licenses/LICENSE-2.0) [](https://api.travis-ci.org/apache/incubator-openwhisk-client-python) There is no official Python client for Apache OpenWhisk at the moment. However, the REST API of OpenWhisk can be used directly from Python. Here is an example of Python code using the `requests` library to invoke `echo` action in OpenWhisk (using IBM's Bluemix as a target host): @@ -8,7 +10,7 @@ import requests APIHOST = 'https://openwhisk.ng.bluemix.net' -AUTH_KEY = subprocess.check_output("wsk property get --auth", shell=True).split()[2] +AUTH_KEY = subprocess.check_output("wsk property get --auth", shell=True).split()[2] NAMESPACE = 'whisk.system' ACTION = 'utils/echo' PARAMS = {'myKey':'myValue'}