I am using this library to communicate with steam. I need to "run" a game, connect to the game server and execute console command (I actually want to get players list with their steam64 IDs). Docs don't have much information about this.
EDIT: I have an example code that use Messaging (?) interface to post friend request. I think I should use it to execute game commands:
from steam.enums import EResult
from steam.core.msg import MsgProto
from steam.enums.emsg import EMsg
message = MsgProto(EMsg.ClientAddFriend)
message.body.steamid_to_add = 76561197960265728
# client is a SteamClient() object
resp = client.send_message_and_wait(message, EMsg.ClientAddFriendResponse)
But how to run a game and connect to the server?