tags:

views:

491

answers:

1

I really don't like the Picasa feed-oriented API. Why couldn't they create rest interface?

Does anyone know how I can get the URL for a particular album? For example say i got:

gd_client = gdata.photos.service.PhotosService()
albums = gd_client.GetUserFeed(user="[email protected]")
album = albums.entry[0]

What is it's url? I am looking for something like:

http://picasaweb.google.com/username/AlbumTitle

that when I click on it will take me to picasa to view that album!

PS: Note that you cannot just put the album.title there because it might have spaces, and is not really the same

+3  A: 

you can access an album's picasaweb url through calling .GetHtmlLink().href on an entry

album_urls = [album.GetHtmlLink().href for album in albums.entry]
tosh