Is there a way to request the API feed of a single photo through the regular 
Picasa link? For example, here is the link: 
https://picasaweb.google.com/103678735711090714596/EmmaFrostCovers#5813293248353841090.
 I'd like to access its API url, which is here: 
http://picasaweb.google.com/data/entry/api/user/103678735711090714596/albumid/5445541796857419473/photoid/5813293248353841090?kind=photo&imgmax=1280&prettyprint=true

I have a column in Google Spreadsheets that is a link to the Picasa photo URL, 
however, some of the older entries contain older links to the Picasa photo, 
like so: 
http://picasaweb.google.fi/lh/photo/CvEozwnhsVMq9lqPDpi2hQ?feat=directlink

For the newer entries with the hash in its link, I set up my Python code so 
that it splits the "#" into a list, and then I grab the 1st element (the photo 
ID) from the 0-indexed list and plug it into the API URL. 

My solution is not very fool-proof, so I'm wondering if there's an easier way 
to request the API link through the regular link -  especially considering the 
structure of the older links. 

I am using Python Requests, and both the spreadsheet and Picasa album are 
public, so I have not had to deal with authorization requests (yet), but I do 
have the gdata library installed. 

Any help appreciated. Thanks! 

via Nexus 7

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-picasa-data-api/-/gN4BVdJgWE0J.
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://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to