David,

Thanks for adding the missing pieces :)

--Tony

On Mar 17, 8:56 pm, David Cifuentes <[email protected]>
wrote:
> Tony and Tareq,
>
> I think you're missing an important part, the call to
> gdata.alt.appengine.run_on_appengine
>
> import gdata.apps.service
> import gdata.alt.appengine
>
> service = gdata.apps.service.AppsService(email=settings.GAPPS_ADMIN,
>     domain=settings.GAPPS_DOMAIN,
>     password=settings.GAPPS_PASSWD)
> gdata.alt.appengine.run_on_appengine(service,
>     store_tokens=False,
>     single_user_mode=True)
> service.ProgrammaticLogin()
> service.CreateUser(...
>
> Be aware that sometimes production GAE gives a DownloadError because
> of a time 
> outhttp://groups.google.com/group/google-appengine/browse_thread/thread/...
>
> Hope this helps,
>
> David Cifuentes
> Eforcers.com
> Bogotá, Colombia
>
> On Mar 17, 10:41 pm, "Tony (Google)" <[email protected]> wrote:
>
> > Hi Tareq,
>
> > Currently all the Apps APIs only support ClientLogin so AuthSub is not
> > going to work.  To get Apps APIs working on AppEngine, you can try
> > doing something like:
>
> > import gdata.apps.service
>
> > service = gdata.apps.service.AppsService("ad...@yourdomain",
> > "password", "yourdomain")
> > service.ProgrammaticLogin()
> > users = service.RetrieveAllUsers()
>
> > ...
>
> > Thanks,
>
> > --Tony
>
> > On Mar 17, 8:13 am, Tareq Samy <[email protected]> wrote:
>
> > > Hello,
>
> > > I'm working with the Gdata Apis on Google AppEngine, i noticed some
> > > articles explaining how to let the Gdata Apis - python client
> > > libraries work over AppEngine. But no talk about how the apps apis can
> > > do.
>
> > > I tried to use the same technique used for other apis (which works
> > > Fine with me), but no answer. It always fails to authenticate to the
> > > Google Apps Domain.
>
> > > Any suggestions or support for how to use it over appengine?!
> > > I read both 
> > > articleshttp://code.google.com/appengine/articles/gdata.htmlhttp://code.googl...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
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-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to