Welcome, guest ( Login )

Powered by JotSpot

WikiHome » 1.2.0 » smugmug.albums.getStats

smugmug.albums.getStats

Version 2, changed by devbobo@gmail.com. 05/10/2007.   Show version history

API Method: smugmug.albums.getStats

Gets transfer statitistics for the given Album during the given Month and Year. SmugMug often only keeps the last few months (current + 2 previous), but you never know. :)

A float is provided for Originals because videos often are only partially viewed.

If 'Heavy' is set to '1', an array of images with each image transfer stat (just like smugmug.images.getStats) is provided for each album in addition to the album stats.

Arguments:
  • String SessionID
  • int AlbumID
  • int Month
  • int Year
  • bool Heavy optional

Result:
  • struct
    • int Bytes
    • int Tiny
    • int Thumb
    • int Small
    • int Medium
    • int Large
    • float Original

Fault Codes:

  • 4 - "invalid user"

Attachments (0)

  File By Size Attached Ver.