banQuery

fun banQuery(q: String, banList: String, max: Int = 10, page: Int = 0, idOnly: Boolean = true): JsonObject?(source)

Endpoint for querying bans

Endpoint: Api/Ban/Query

Return

the query as JsonObject

Parameters

q

the query, being the userId, for example, a steamId with added @steam

banList

banlist the ban is on

max

maximum object count

page

define the page

idOnly

only query userIds

Throws

inherited from CedmodException