Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9194)

Unified Diff: chrome/common/extensions/docs/examples/apps/hello-python/README

Issue 3161030: Adding a sample CWS license server client written for Python App Engine. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: More sensible fallback for dev environment. Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/examples/apps/hello-python/README
diff --git a/chrome/common/extensions/docs/examples/apps/hello-python/README b/chrome/common/extensions/docs/examples/apps/hello-python/README
new file mode 100644
index 0000000000000000000000000000000000000000..53ff640e2098286ddc4907d9a60d1845636825c3
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/apps/hello-python/README
@@ -0,0 +1,30 @@
+Hello License Python
+====================
+
+Overview
+--------
+This application implements a sample client for the Chrome Web Store Licensing
+API on Google's Python App Engine service.
+
+For information about this API, please see:
+http://code.google.com/chrome/webstore/
+
+Usage
+-----
+First, register an App Engine app at www.appspot.com. Make sure you select
+Federated Login as the login provider for the app.
+
+You'll need to configure this sample before it will be functional. Edit
+app.yaml and replace the text INSERT APPLICATION NAME HERE with the application
+identifier you registered.
+
+Second, obtain a token for the Chrome Web Store license server. Check the
+license server documentation for instructions on how to do this. Edit main.py
+and replace the following three configuration lines with your own information:
+
+ 'oauth_token': 'INSERT OAUTH TOKEN HERE',
+ 'oauth_token_secret': 'INSERT OAUTH TOKEN SECRET HERE',
+ 'app_id': 'INSERT APPLICATION ID HERE',
+
+Then deploy your application to App Engine, and you will be able to log in
+with OpenID and check the license status of your account.

Powered by Google App Engine
This is Rietveld 408576698