API Reference

Users.getPowerUserRanking

This method returns a list of users, sorted on either their last 7 or last 30 days worth of uploads.

Syntax

array users.getPowerUserRanking ( int vhost, int type = 30, int limit = 15, int offset = 0 )

Arguments

NameTypeRequiredDefault valueDescription
vhostintRequirednoneID of the application that the media is in.
typeintOptional307 or 30, others will not work, Default: 30
limitintOptional15Amount of records to return, Default 15
offsetintOptional0Where to start returning records from. Default 0(First Record)

Response

Description of returned fields

NameTypeDescription
dateDATEThe date of the users last upload.
uidINTThe user's id.
videosINTAmount of videos the user has uploaded over the previous 32 days.
photosINTAmount of photos the user has uploaded over the previous 30 days.
totalmedialast30INTTotal amount of media the user has uploaded over the previous 30 days.
totalmedialast7INTTotal amount of media the user has uploaded over the previous 7 days
plusminusINTToday's plus/minus over the last 30 days
rankINTThe user's overall rank.

Sample Response

Code examples

0 comments

Be the first to comment on getPowerUserRanking.

Add a Comment

  • captcha