Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
httplib2/ | 03-May-2024 | - | 1,314 | 996 | ||
oauth2/ | 03-May-2024 | - | 843 | 611 | ||
templates/ | 03-May-2024 | - | 57 | 51 | ||
NOTICE | D | 03-May-2024 | 2.4 KiB | 54 | 41 | |
README | D | 03-May-2024 | 1.1 KiB | 30 | 23 | |
app.yaml | D | 03-May-2024 | 379 | 18 | 10 | |
favicon.ico | D | 03-May-2024 | 1.2 KiB | |||
index.yaml | D | 03-May-2024 | 656 | 17 | 1 | |
main.py | D | 03-May-2024 | 5.1 KiB | 150 | 111 |
README
1Hello License Python 2==================== 3 4Overview 5-------- 6This application implements a sample client for the Chrome Web Store Licensing 7API on Google's Python App Engine service. 8 9For information about this API, please see: 10http://code.google.com/chrome/webstore/ 11 12Usage 13----- 14First, register an App Engine app at www.appspot.com. Make sure you select 15Federated Login as the login provider for the app. 16 17You'll need to configure this sample before it will be functional. Edit 18app.yaml and replace the text INSERT APPLICATION NAME HERE with the application 19identifier you registered. 20 21Second, obtain a token for the Chrome Web Store license server. Check the 22license server documentation for instructions on how to do this. Edit main.py 23and 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 29Then deploy your application to App Engine, and you will be able to log in 30with OpenID and check the license status of your account.