Models

Server

class aioquery.models.ServerModel

Holds details on server.

protocol
Type

bytes

hostname
Type

str

map
Type

str

game_dir
Type

str

game_desc
Type

str

app_id
Type

int

players
Type

int

max_players
Type

int

bots
Type

int

dedicated
Type

DedicatedModel

os
Type

OSModel

password
Type

str

secure
Type

bool

version
Type

str

game_port

By default None

Type

int

steamid

By default None

Type

int

spec_port

By default None

Type

int

spec_name

By default None

Type

str

tags

By default None

Type

list

gameid

By default None

Type

int

OS

class aioquery.models.OSModel

Holds details on OS

windows
Type

bool

linux
Type

bool

mac
Type

bool

Dedicated

class aioquery.models.DedicatedModel

Holds details on dedicated

dedicated
Type

bool

listen
Type

bool

source_tv
Type

bool

Player

class aioquery.models.PlayerModel

Holds details on players.

id

ID of user on the server, not a steam ID.

Type

int

name
Type

str

frags
Type

int

time
Type

float