There is python GDATA library. I've tried to to repeat same code on 
python but without any success. Neither I understand why it should work. 
Maybe I'm missing something?

client = GDClient(source = '...')
token = client.client_login(email = '...', password = '...', source = 
'...', service = 'apps', account_type='GOOGLE')

GDClient applies Authorization header to each http request, but Users 
service checks for cookie, not for auth header....

client.request('GET', 'http://127.0.0.1:8080/_ah/login?continue=/', 
auth_token = auth_token)

for localhost this request returns no cookies (no Set-Cookie in response 
headers). Why should it return anything - it's just logon screen...
for appspot.com - 500 Error: Server Error.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/3Fi9fH4wz_kJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to