PDA

View Full Version : API Update: SmugMungous options


devbobo
Oct-30-2007, 03:21 PM
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
X3LargeURLhave been added to the responses of...

smugmug.images.getInfo
smugmug.images.getURLsThe documentation for API 1.2.0 should be up to date, let me know if I have missed something.

Cheers,

David

Nikolai
Oct-30-2007, 03:46 PM
G'day Guys,
SmugMunous API support has been added for API version 1.2.0/1.2.1.
...


Thanks, David!
Great job! :thumb

Darn, I need to jump on this...:scratch

rkalla
Dec-01-2007, 09:35 PM
Don't forget smugmug.albums.get(Heavy=1), that will return all the SmugMungous stuff too.

rkalla
Dec-02-2007, 10:35 AM
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 ;)

mhilbush
Dec-27-2007, 08:10 AM
Additionally, these parameters...
XLargeURL
X2LargeURL
X3LargeURLhave been added to the responses of...
smugmug.images.getInfo
smugmug.images.getURLsSeems 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

devbobo
Dec-27-2007, 01:39 PM
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

mhilbush
Dec-27-2007, 02:41 PM
Ahh, you're right. I was hitting a gallery that was created some time ago, and did not have those sizes generated.
Mark