API Reference

Users.getPowerUserRanking

If bylike is set to False.
This method will return a list of users, sorted by their submissions over 7 or 30 days.
f bylike is set to True
This method will return a list of users, sorted by amount of likes on their submissions over 7 or 30 days.

Syntax

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

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)
bylikemixedOptionalfalse

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