ScpList

class ScpList(readTimeout: Long = 60, writeTimeout: Long = 60)(source)

Constructors

Link copied to clipboard
constructor(readTimeout: Long = 60, writeTimeout: Long = 60)

Functions

Link copied to clipboard
fun serverGet(serverId: String): Server

Endpoint for getting a specific server

Link copied to clipboard
fun serverPost(search: String, countryFilter: List<String>, hideEmptyServer: Boolean = true, hideFullServer: Boolean = true, friendlyFire: Boolean = true, whitelist: Boolean = true, modded: Boolean = true, sort: String = "PLAYERS_DESC"): ScpListServers?

Endpoint for getting information about al servers