Following code should work:
client = gdata.apps.client.AppsClient(domain=DOMAIN)
client.ClientLogin(email=ADMIN_USERNAME, password=ADMIN_PASSWORD, source='apps')
client.CreateUser(args.username, args.name, args.surname, args.password)
What is the expected output? What do you see instead?
This is copied from google.developers and it should work. I see error
What version of the product are you using?
gdata-2.0.17.zip
gdata.client.RequestError: Server responded with: 403, <HTML>
<HEAD>
<TITLE>Insecure HTTP requests not permitted. Use HTTPS.</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Insecure HTTP requests not permitted. Use HTTPS.</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
Please provide any additional information below.
As a workaround you might use:
client.ssl=True
Original issue reported on code.google.com by jbz...@gmail.com on 2 May 2012 at 10:12
Original issue reported on code.google.com by
jbz...@gmail.com
on 2 May 2012 at 10:12