New API Suggestion
mchung
Registered Users Posts: 5 Beginner grinner
If you guys open to API suggestions...
I'd like a call that's similar to smugmug.images.getInfo, but takes an array of ImageIds, or even better, an AlbumId.
Currently, to fetch the info (say, the URL) for every image in an album, you have to issue N+2 calls (1 to get the album, 1 to get the list of images in the album, and then N calls for each image.
Alternatively, you could send back minor information with smugmug.images.get when Heavy=true
I'm using 1.1.1, btw.
-Marc
I'd like a call that's similar to smugmug.images.getInfo, but takes an array of ImageIds, or even better, an AlbumId.
Currently, to fetch the info (say, the URL) for every image in an album, you have to issue N+2 calls (1 to get the album, 1 to get the list of images in the album, and then N calls for each image.
Alternatively, you could send back minor information with smugmug.images.get when Heavy=true
I'm using 1.1.1, btw.
-Marc
0
Comments
If you set Heavy=1 on your smugmug.albums.get request, you will get the info you are looking for.
Cheers,
David
SmugMug API Developer
My Photos
I don't know why I was using Heavy=true. I did Heavy=1 for smugmug.images.get and it returned what I wanted.
-Marc