photo.summary.text instead of photo.media.description.text ?
On Friday, January 8, 2016 at 8:06:40 AM UTC-8, Francis Lapique wrote:
>
>
> I am not able to update a photo caption. Code:
>
> gd_client = connect_to_picasa( )
> albums = get_album_list( gd_client )
> for album in albums.entry:
> if album.title.text == "jebathome" :
> photos =
> gd_client.GetFeed('/data/feed/api/user/default/albumid/%s?kind=photo' %
> (album.gphoto_id.text))
> for photo in photos.entry:
> print ' Photo:',
> photo.summary.text,photo.media.description.text,photo.media.keywords.text
>
> photo.media.description.text = u"hello"
> updated_entry = gd_client.UpdatePhotoMetadata(photo)
>
> No error, The caption does not change!
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/d/optout.