API: getStats
aellinwood
Registered Users Posts: 1 Beginner grinner
I'm trying to compile a list of stats for a given category that has quite a few albums. I can get all of the Albums of that category and iterate over those, but the albums.getStats function seems to be returning 0s... or... I'm just doing it wrong.
I'm using the phpSmug php wrapper:
I’m passing in:
$albumHits= $f->albums_getStats("AlbumID=16029920", "Month=3", "Year=2011");
And getting:
[FONT="]array(11) { ["Bytes"]=> int(0) ["Hits"]=> int(0) ["Large"]=> int(0) ["Medium"]=> int(0) ["Original"]=> int(0) ["Small"]=> int(0) ["Video320"]=> int(0) ["Video640"]=> int(0) ["X2Large"]=> int(0) ["X3Large"]=> int(0) ["XLarge"]=> int(0) }[/FONT]
[FONT="]Any help would be appreciated, thanks!
[/FONT]
[FONT="]Aaron Ellinwood[/FONT]
[FONT="]go11photo.com
[/FONT]
I'm using the phpSmug php wrapper:
I’m passing in:
$albumHits= $f->albums_getStats("AlbumID=16029920", "Month=3", "Year=2011");
And getting:
[FONT="]array(11) { ["Bytes"]=> int(0) ["Hits"]=> int(0) ["Large"]=> int(0) ["Medium"]=> int(0) ["Original"]=> int(0) ["Small"]=> int(0) ["Video320"]=> int(0) ["Video640"]=> int(0) ["X2Large"]=> int(0) ["X3Large"]=> int(0) ["XLarge"]=> int(0) }[/FONT]
[FONT="]Any help would be appreciated, thanks!
[/FONT]
[FONT="]Aaron Ellinwood[/FONT]
[FONT="]go11photo.com
[/FONT]
0
Comments
http://www.dgrin.com/showthread.php?t=169830
I actually scrapped an API project because of this.
Want faster uploading? Vote for FTP!