OLD | NEW |
(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. |
OLD | NEW |