Options

API Update: SmugMungous options

devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
G'day Guys,

SmugMunous API support has been added for API version 1.2.0/1.2.1.

The following items...
  • XLarges (Pro only)
  • X2Larges
  • X3Larges
  • UnsharpAmount (Pro+Power only)
  • UnsharpRadius (Pro+Power only)
  • UnsharpThreshold (Pro+Power only)
  • UnsharpSigma (Pro+Power only)
have been added to the following methods, either as request parameters or in the responses...
  • smugmug.albums.create
  • smugmug.albums.changeSettings
  • smugmug.albums.getInfo
  • smugmug.albumtemplates.get
  • smugmug.albumtemplates.create (1.2.1 only)
  • smugmug.albumtemplates.changeSettings (1.2.1 only)
Additionally, these parameters...
  • XLargeURL
  • X2LargeURL
  • X3LargeURL
have been added to the responses of...
  • smugmug.images.getInfo
  • smugmug.images.getURLs
The documentation for API 1.2.0 should be up to date, let me know if I have missed something.

Cheers,

David
David Parry
SmugMug API Developer
My Photos

Comments

  • Options
    NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited October 30, 2007
    devbobo wrote:
    G'day Guys,
    SmugMunous API support has been added for API version 1.2.0/1.2.1.
    ...

    Thanks, David!
    Great job! thumb.gif

    Darn, I need to jump on this...headscratch.gif
    "May the f/stop be with you!"
  • Options
    rkallarkalla Registered Users Posts: 108 Major grins
    edited December 2, 2007
    Don't forget smugmug.albums.get(Heavy=1), that will return all the SmugMungous stuff too.
  • Options
    rkallarkalla Registered Users Posts: 108 Major grins
    edited December 2, 2007
    doh... also the users.getTree(heavy) and users.getTransferStats methods as well.

    UPDATE: Spoke with David, getTransferStats hasn't had SM support added to it just yet. But if you are implementing an API, might as well throw it in there and be prepared ;)
  • Options
    mhilbushmhilbush Registered Users Posts: 70 Big grins
    edited December 27, 2007
    devbobo wrote:
    Additionally, these parameters...
    • XLargeURL
    • X2LargeURL
    • X3LargeURL
    have been added to the responses of...
    • smugmug.images.getInfo
    • smugmug.images.getURLs
    Seems like smugmug.images.get should return XLargeURL, X2LargeURL, and X3LargeURL when Heavy=1? Is there a reason why this was not implemented?

    Edit: Sorry, I am using the REST 1.2.1 API.

    Thanks,
    Mark
    Mark
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited December 27, 2007
    mhilbush wrote:
    Seems like smugmug.images.get should return XLargeURL, X2LargeURL, and X3LargeURL when Heavy=1? Is there a reason why this was not implemented?

    Edit: Sorry, I am using the REST 1.2.1 API.

    Thanks,
    Mark

    Mark,

    Those urls are returned, if the SmugMungous image sizes exist.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • Options
    mhilbushmhilbush Registered Users Posts: 70 Big grins
    edited December 27, 2007
    Ahh, you're right. I was hitting a gallery that was created some time ago, and did not have those sizes generated.
    Mark
    Mark
Sign In or Register to comment.