API Enhancement Request: smugmug.albums.get

David PLDavid 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.

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited May 9, 2008
    Hey David,

    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
    David Parry
    SmugMug API Developer
    My Photos
  • fermionfermion Registered Users Posts: 13 Big grins
    edited May 28, 2009
    devbobo wrote:
    Hey David,

    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

    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?
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited May 28, 2009
    fermion wrote:
    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.
    David Parry
    SmugMug API Developer
    My Photos
  • fermionfermion Registered Users Posts: 13 Big grins
    edited May 29, 2009
    devbobo wrote:
    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.

    Yeah, a description there would've been handy :-D Regardless, thanks for the pointer!
Sign In or Register to comment.