Hi,

Looking for a way to obtain URL information of an album, I found that
AlbumEntry objects contains a list of links. For example, the
following code:

gd_client = gdata.photos.service.PhotosService()
gd_client.email = 'myu...@gmail.com'
gd_client.password = 'mypass
gd_client.source = 'exampleCo-exampleApp-1'
gd_client.ProgrammaticLogin()
albums = gd_client.GetUserFeed()
for album in albums.entry:
    print 'title: %s, number of photos: %s, id: %s' %
(album.title.text,
        album.numphotos.text, album.gphoto_id.text)
    for a in album.link:
        print 'link[].href: %s' % ( a.href)

produces this output:
...
title: title here, number of photos: 12, id: 1234567890123456789
link[].href: 
http://picasaweb.google.com/data/feed/api/user/myuser/albumid/1234567890123456789?authkey=somekey
link[].href: http://picasaweb.google.com/myuser/titlehere?authkey=somekey
link[].href: 
http://picasaweb.google.com/data/entry/api/user/myuser/albumid/1234567890123456789?authkey=somekey
link[].href: 
http://picasaweb.google.com/data/entry/api/user/myuser/albumid/1234567890123456789/1234567897757000?authkey=someykey
link[].href: 
http://picasaweb.google.com/data/entry/api/user/myuser/albumid/1234567890123456789/acl?authkey=somekey
....


Is there any document from where I can I find information on the
meaning of these links? I browsed he docs but couldn't find anything.
Looking at the source code, I found the definition of class Link
(AtomBase), but the description of the class does not say what are
those for.
I am new to the google data APIs, any pointer is welcome.


Regards,
Hector
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to Google-Picasa-Data-API@googlegroups.com
To unsubscribe from this group, send email to 
google-picasa-data-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to