Home | History | Annotate | only in /external/chromium/chrome/common/extensions/docs/examples/apps/hello-python
Up to higher level directory
NameDateSize
app.yaml10-Jul-2012379
favicon.ico10-Jul-20121.2K
httplib2/10-Jul-2012
index.yaml10-Jul-2012656
main.py10-Jul-20125.1K
NOTICE10-Jul-20122.4K
oauth2/10-Jul-2012
README10-Jul-20121.1K
templates/10-Jul-2012

README

      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.