|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
API feature request for smugmug.categories.get
smugmug.albums.get has a boolean parameter "Empty" which controls whether empty albums are returned.
I request that the same parameter should be added to smugmug.categories.get so that I can easily retrieve a list of categories which actually contain albums (surely a common requirement), instead of blindly including every single one that exists, which is the current behaviour. If there are other API methods which do not currently have such a parameter to filter out empties, then please add it to them too. I would also like a way to retrieve a count of the number of albums in each category in the same call, I suggest an "Extras" parameter should be added (and documented) to achieve this. And finally, until these parameters are added, what is the most efficient method of determining which categories do contain albums? |
|
|
|
|
#2
|
|
|
Big grins
|
**bump**
|
|
|
|
|
#3
|
|
|
Big grins
|
Still no response from a SmugMug API dev, so perhaps can someone suggest an efficient way to achieve the same end result - i.e. to retrieve a list of categories which actually contain albums, not ALL of them?
|
|
|
|
|
#4
|
||
|
SmugMug Product Manager
|
Quote:
The categories are global, so even if a specific user doesn't have galleries in certain category, someone else does. Albums are handled differently as they are always specific to a user. You can use smugmug.users.getTree to retrieve the categories/sub-categories and albums. This method suports 'empty' parameter http://wiki.smugmug.net/display/API/....users.getTree |
|
|
|
||
| Tell The World! | |
| Tags | |
| api , empty , filter , smugmug.categories.get | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| "My Threads" feature request? | jfriend | Dgrin Forum Support | 25 | May-23-2011 07:08 AM | |
| Site down? | JimM | SmugMug Support | 19 | May-26-2006 09:14 AM | |
| Pro pricing API feature request | rutt | SmugMug APIs, Hacks & Tricks | 0 | Dec-10-2005 07:55 AM | |
| API Function Request | 3rdPlanetPhotography | SmugMug APIs, Hacks & Tricks | 0 | Nov-26-2005 03:56 PM | |
| Smugmug feature request - large tiff/psd file sharing | rutt | SmugMug Support | 1 | Aug-09-2004 10:48 AM | |
| Thread Tools | |
| Display Modes | |
|
|