Accessing information in a python GDEntry object

19 views
Skip to first unread message

Kua

unread,
Feb 8, 2012, 8:31:27 PM2/8/12
to Google Apps Domain Information and Management APIs
I'm trying to access the information in a python GDEntry object
that is returned by when calling RetrieveForwarding() in
gdata.apps.emailsettings.client.EmailSettingsClient
and not having any success. In particular, I am interested
the values of the xml properties named 'action' and 'forwardTo'.

Thanks, Kua

Claudio Cherubino

unread,
Feb 9, 2012, 2:35:38 PM2/9/12
to google-app...@googlegroups.com
Hi Kua,

I just committed a new revision (http://code.google.com/p/gdata-python-client/source/detail?r=194d0fd21fdd449fbb17495678981a48274cf09d) of the Python library that allows the Email Settings API client to return the correct classes when used to retrieve settings.
Now, when calling RetrieveForwarding you'll get an instance of the EmailSettingsForwarding class, and you can access its properties, such as entry.action or entry.forward_to.
Thanks for reporting this issue

Claudio


--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.


Kua

unread,
Feb 9, 2012, 3:31:03 PM2/9/12
to google-app...@googlegroups.com
Hi Claudio,

Thank you.  I have downloaded the revision and I am now able to access the data.

Regards, Kua

Chet

unread,
Feb 9, 2012, 6:24:33 PM2/9/12
to google-app...@googlegroups.com
This makes dealing with email settings much easier.
But is it possible this change broke  RetrieveEmailDelegates? 

Claudio Cherubino

unread,
Feb 9, 2012, 7:49:48 PM2/9/12
to google-app...@googlegroups.com
You're right, the previous change affected the GetFeed calls (including that to RetrieveEmailDelegates) by mistake, so I reverted those changes and only left those affecting GetEntry calls (such as RetrieveForwarding).
Thanks

Claudio

On Thu, Feb 9, 2012 at 3:24 PM, Chet <chet...@gmail.com> wrote:
This makes dealing with email settings much easier.
But is it possible this change broke  RetrieveEmailDelegates? 

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.

Kua

unread,
Feb 17, 2012, 2:34:35 PM2/17/12
to google-app...@googlegroups.com
I'm now 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
same type of problem.  In particular, I am interested the values of the
xml properties named 'delegationId', 'status', 'address'. 

Thanks, Kua

Reply all
Reply to author
Forward
0 new messages