player Query
fun playerQuery(q: String, max: Int = 10, page: Int = 0, staffOnly: Boolean = false, create: Boolean = false, sortLabel: String = "id_field", sortDirection: Int? = null, activityMin: Int = 14, basicStats: Boolean = true, moderationData: Boolean = false): Player(source)
Endpoint for querying player stats
Endpoint: /Api/Player/Query
Return
a 'Player' object
Parameters
q
the query being a userId most of the time
max
maximum number of results to return
page
define the page
staff Only
only return staff users
create
create player
sort Label
label to sort to
sort Direction
direction of sort
activity Min
minimum activity to query from. If set to 10, it queries data from the last 10 days
basic Stats
should base stats be returned?
moderation Data
should moderation data be returned?
Throws
inherited from CedmodException