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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 Hello License Python
2 ====================
3
4 Overview
5 --------
6 This application implements a sample client for the Chrome Web Store Licensing
7 API on Google's Python App Engine service.
8
9 For information about this API, please see:
10 http://code.google.com/chrome/webstore/
11
12 Usage
13 -----
14 First, register an App Engine app at www.appspot.com. Make sure you select
15 Federated Login as the login provider for the app.
16
17 You'll need to configure this sample before it will be functional. Edit
18 app.yaml and replace the text INSERT APPLICATION NAME HERE with the application
19 identifier you registered.
20
21 Second, obtain a token for the Chrome Web Store license server. Check the
22 license server documentation for instructions on how to do this. Edit main.py
23 and replace the following three configuration lines with your own information:
24
25 'oauth_token': 'INSERT OAUTH TOKEN HERE',
26 'oauth_token_secret': 'INSERT OAUTH TOKEN SECRET HERE',
27 'app_id': 'INSERT APPLICATION ID HERE',
28
29 Then deploy your application to App Engine, and you will be able to log in
30 with OpenID and check the license status of your account.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698