I am simply copy pasting the first python sample from this 
doc<http://code.google.com/apis/contacts/docs/3.0/developers_guide.html#Creating>and
 get this error (only pasting the last few lines):

/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py
 
in _write(self, file, node, encoding, namespaces)
    671             file.write("<?%s?>" % _escape_cdata(node.text, 
encoding))
    672         else:
--> 673             items = node.items()
    674             xmlns_items = [] # new namespaces in this scope
    675             try:

AttributeError: 'ContactEntry' object has no attribute 'items'

I am using Python 2.6 with gdata 2.0.14 on Mac OS X. Could someone show me 
the simplest Python sample that currently works in 2.0? Surprisingly, the 
example from 1.0 
docs<http://code.google.com/apis/contacts/docs/1.0/developers_guide_python.html#Creating>works,
 but not sure if any of that API is deprecated.

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html

Reply via email to