API Enhancement Request: smugmug.albums.get
David PL
Registered Users Posts: 80 Big grins
Hello,
In my application, I plan to use caching so that the user's entire list of albums does not need to be continually re-downloaded. To best facilitate caching it would greatly simplify things if the smugmug.albums.get method accepted a filter on the LastUpdated field. For example, the following call:
smugmug.albums.get&SessionID=xxx&LastUpdated=after20080501
would only return albums updated after May 1, 2008. This would really simplify implementing a caching mechanism using the API since all an application would have to track is the date the album list was last downloaded.
In my application, I plan to use caching so that the user's entire list of albums does not need to be continually re-downloaded. To best facilitate caching it would greatly simplify things if the smugmug.albums.get method accepted a filter on the LastUpdated field. For example, the following call:
smugmug.albums.get&SessionID=xxx&LastUpdated=after20080501
would only return albums updated after May 1, 2008. This would really simplify implementing a caching mechanism using the API since all an application would have to track is the date the album list was last downloaded.
0
Comments
Once I get OAuth development out of the way, enhancing existing functionality to make syncing easier is my next item on the list.
Cheers,
David
SmugMug API Developer
My Photos
Hey David,
I don't see any mention of this made in the API documentation (I could very well be missing it :-D). Is this a secret feature now?
if you check out the api documentation here, you will see LastUpdated listed as a parameter...but it looks like I have missed a description (my bad :cry), basically i'm expecting an epoch date.
SmugMug API Developer
My Photos
Yeah, a description there would've been handy :-D Regardless, thanks for the pointer!