smugmug.albums.getStats

David PLDavid PL Registered Users Posts: 80 Big grins
Hello,

I am looking to add the ability to download stats. I have been testing out the smugmug.albums.getStats method under API 1.2.0 (since I know the method isn't yet on 1.2.2). There were a few things that I am having problems with (or would like to see) with this method:
  • The image level stats always seem to incorrectly return 0 hits for all images. Is there any way to obtain the image level stats through the API?
  • In some of the methods in 1.2.2, an "Empty" parameter has been added. That same parameter for this method would be very useful to allow you to restrict the response to only albums/images with actual hits.
  • It would be really helpful for the response to also include the AlbumKey, title, category, and subcategory. Currently, the response only seems to include the AlbumID. For the image level stats, it would be helpful for the response to also include the ImageKey to allow for applications to be able to subsequently call the various image related API methods (e.g., to then get the URL for the image to download the thumbnail or open the image on the SmugMug site).
Thanks for the help.

Comments

  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited September 11, 2009
    Make sure when you send the Month parameter you prefix it with 0, if the month is less than 10.

    eg. Jan-September 01-09.

    I know it's not inituitve, I'll fix when I have a chance.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • David PLDavid PL Registered Users Posts: 80 Big grins
    edited September 12, 2009
    devbobo wrote:
    Make sure when you send the Month parameter you prefix it with 0, if the month is less than 10.

    eg. Jan-September 01-09.

    I know it's not inituitve, I'll fix when I have a chance.

    Cheers,

    David

    Thanks a lot. That was it. Its working now.
Sign In or Register to comment.