How to get content statistics?

Hi, how to get content statistics? When i do content.Statistics.DownloadsCount or trying to get another stat like rating, i get null reference exception

does anybody knows?

Does anybody knows? x2

Have you downloaded the statistics with the content when you got the content? Because there is a parameter in GetContentArgs that allows you to specify whether or not to include statistics with the content.

I am getting a whole page of contents at once, so I have to use GetContentsArgs() which for some reason does not have the includeContents property.

Yeah, the feature to do this on GetContents doesn’t exist, so until they add that you’re going to have to GetContent every result from GetContents each time you want the statistics.
I know it’s dumb as hell and consumes extra bandwidth, but it is what it is and there’s no other way that I know of.

Thank you for the response, I hope they add property soon.

Yeah I hope so too