{"id":53,"date":"2009-08-31T22:31:26","date_gmt":"2009-08-31T21:31:26","guid":{"rendered":"http:\/\/david.carter-tod.com\/wp\/2009\/08\/31\/gdata-python-attributes\/"},"modified":"2009-08-31T22:31:26","modified_gmt":"2009-08-31T21:31:26","slug":"gdata-python-attributes","status":"publish","type":"post","link":"http:\/\/david.carter-tod.com\/wp\/2009\/08\/31\/gdata-python-attributes\/","title":{"rendered":"GData Python Attributes"},"content":{"rendered":"<p>Per <a href=\"http:\/\/crad.tumblr.com\/post\/73308257\/gdata-python-client-mappings\">http:\/\/crad.tumblr.com\/post\/73308257\/gdata-python-client-mappings<\/a>, I don&#8217;t know how I would have known if I hadn&#8217;t run across that post.  Working with a user_entry object, you access and change the family name using user.name.family_name (even though the xml has familyName), e.g.<\/p>\n<p><code>user_entry = service.RetrieveUser(username)<br \/>\nprint \"user entry: \" + user_entry.name.family_name<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Per http:\/\/crad.tumblr.com\/post\/73308257\/gdata-python-client-mappings, I don&#8217;t know how I would have known if I hadn&#8217;t run across that post. Working with a user_entry object, you access and change the family name using user.name.family_name (even though the xml has familyName), e.g. user_entry = service.RetrieveUser(username) print &#8220;user entry: &#8221; + user_entry.name.family_name<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[6],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-work"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2nWeR-R","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":0,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/david.carter-tod.com\/wp\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}