Home | History | Annotate | only in /external/chromium/chrome/common/extensions/docs/examples/apps/hello-python
Up to higher level directory
NameDateSize
app.yaml20-Sep-2013379
favicon.ico20-Sep-20131.2K
httplib2/20-Sep-2013
index.yaml20-Sep-2013656
main.py20-Sep-20135.1K
NOTICE20-Sep-20132.4K
oauth2/20-Sep-2013
README20-Sep-20131.1K
templates/20-Sep-2013

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.