match

class csgo.features.match.Match

Bases: object

request_matchmaking_stats()

Request matchmaking statistics

Response event: matchmaking_stats

Parameters:message (proto message) – CMsgGCCStrike15_v2_MatchmakingGC2ClientHello
request_current_live_games()

Request current live games

Response event: current_live_games

Parameters:message (proto message) – CMsgGCCStrike15_v2_MatchList
request_live_game_for_user(account_id)

Request recent games for a specific user

Parameters:account_id (int) – account id of the user

Response event: live_game_for_user

Parameters:message (proto message) –

CMsgGCCStrike15_v2_MatchList

request_full_match_info(matchid, outcomeid, token)

Request full match info. The parameters can be decoded from a match ShareCode

Parameters:
  • matchid (int) – match id
  • outcomeid (int) – outcome id
  • token (int) – token

Response event: full_match_info

Parameters:message (proto message) –

CMsgGCCStrike15_v2_MatchList

request_recent_user_games(account_id)

Request recent games for a specific user

Parameters:account_id (int) – account id of the user

Response event: recent_user_games

Parameters:message (proto message) –

CMsgGCCStrike15_v2_MatchList

request_watch_info_friends(account_ids, request_id=1, serverid=0, matchid=0)

Request watch info for friends

Parameters:
  • account_ids (list) – list of account ids
  • request_id (int) – request id, used to match reponse with request (default: 1)
  • serverid (int) – server id
  • matchid (int) – match id

Response event: watch_info

Parameters:message (proto message) – CMsgGCCStrike15_v2_WatchInfoUsers