FYI, a little friendlier HTML view of the V2 API can be found at http://api.smugmug.com/api/v2. You can just click from one API to another to see how things are connected, and the web pages even let you fill in parameter values and execute the method from the web page. I tried playing around with it and it looks really good overall. A few features it looks like are present: sorting, filtering, and paging support for lists, a general ability to expand referenced objects (similar to the "extras" parameters in the V1.3 API), and a general ability to filter results to only return some of the fields from the object for efficiency reasons.
Below is one example (just replace [nickname] with your nickname) that returns just the Title, Uri, and ImageCount fields from the user's five most recently updated albums along with their highlight images.
One thing I can't figure out is how / whether it's possible to do second-level expansion (i.e. I want to get the "ImageSizes" object values from the AlbumHighlightImage object in the same call as the list of albums). Any ideas?
Update on API 2.0 can be found in this sticky. Please subscribe to that thread for future updates.
Please also ask any questions or add comments about the new API there so everything is in one place. I am closing this thread.
API 2.0 is the new API we are still working on. From the posts above in this thread it sounds like some of you are attempting to use it already. It is not supported yet and we will not be answering technical questions about it if you do attempt to use it. There are reasons behind why we have not yet publicly released it yet
Comments
Below is one example (just replace [nickname] with your nickname) that returns just the Title, Uri, and ImageCount fields from the user's five most recently updated albums along with their highlight images.
One thing I can't figure out is how / whether it's possible to do second-level expansion (i.e. I want to get the "ImageSizes" object values from the AlbumHighlightImage object in the same call as the list of albums). Any ideas?
I discovered this from poking around the SmugMug source for their v2 API client:
http://cdn.smugmug.com/include/js/lib/build/combo/combo.js?sm-api2/048f/sm-api2.js
Please check out my gallery of customisations for the New SmugMug, more to come!
Please also ask any questions or add comments about the new API there so everything is in one place. I am closing this thread.
API 2.0 is the new API we are still working on. From the posts above in this thread it sounds like some of you are attempting to use it already. It is not supported yet and we will not be answering technical questions about it if you do attempt to use it. There are reasons behind why we have not yet publicly released it yet
SmugMug Technical Account Manager
Travel = good. Woo, shooting!
nickwphoto