APPCFG_CLIENT_ID = '550516889912.apps.googleusercontent.com'
APPCFG_CLIENT_NOTSOSECRET = 'ykPq-0UYfKNprLRjVx1hBBar'
APPCFG_SCOPES = ['https://www.googleapis.com/auth/appengine.admin']
source = APPCFG_CLIENT_ID, APPCFG_CLIENT_NOTSOSECRET, APPCFG_SCOPES, None
rpc_server = appengine_rpc_httplib2.HttpRpcServerOauth2('appengine.google.com',
    'your OAuth2 refresh token goes here',
    'appcfg_py/1.8.3 Darwin/12.5.0 Python/2.7.2.final.0', source,
    host_override=None, save_cookies=False, auth_tries=1, account_type=
    'HOSTED_OR_GOOGLE', secure=True, ignore_certs=False)
response = rpc_server.Send('/api/versions/list', app_id='khan-academy')
parsed_response = yaml.safe_load(response)
if not parsed_response:
    return None
else:
    return parsed_response
Программно получить список версий из движка приложения