This is now fixed in the library:
http://code.google.com/p/gdata-python-client/issues/detail?id=599
Thanks everyone
Claudio
On Friday, February 24, 2012 6:34:42 AM UTC-8, Chet wrote:
>
> The client isn't fully baked, but you could try something like this:
>
> delegates_feed =
> emailsettings_client.RetrieveEmailDelegates(username=username)
> property_feed = gdata.apps.PropertyFeedFromString(str(delegates_feed))
> next = property_feed.GetNextLink()
> while next is not None:
> next_feed = gdata.service.Get(next.href,
> converter=gdata.apps.PropertyFeedFromString)
> for a_entry in next_feed.entry:
> property_feed.entry.append(a_entry)
> next = next_feed.GetNextLink()
> properties_list = []
> for property_entry in property_feed.entry:
> properties = {}
> for i, property in enumerate(property_entry.property):
> properties[property.name] = property.value
> properties_list.append(properties)
> for entry in properties_list:
> print entry['status'],entry['delegationId'],entry['address']
>
>
> On Thu, Feb 23, 2012 at 1:46 PM, Kua <[email protected]> wrote:
>
>> I'm am trying to access the information in a python GDEntry object that
>> is
>> returned by when calling RetrieveEmailDelegates() in
>> gdata.apps.emailsettings.**client.EmailSettingsClient and I'm having the
>> not seeing an object. In particular, I am interested the values of the
>> xml properties named 'delegationId', 'status', 'address'.
>>
>> Thanks, Kua
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Apps Domain Information and Management APIs" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/cvFupDdy9RMJ.
>> 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-mgmt-apis?hl=en.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/yFjOzdNCosEJ.
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-mgmt-apis?hl=en.