match¶
Features related to matches and matchmaking.
-
class
dota2.features.match.
Match
¶ Bases:
object
-
request_matchmaking_stats
()¶ Request matchmaking statistics
Response event:
matchmaking_stats
Parameters: message (proto message) – CMsgDOTAMatchmakingStatsResponse
-
request_match_details
(match_id)¶ Request match details for a specific match
Note
Rate limited to 100 requests/day
Parameters: match_id ( int
) – match idReturns: job event id Return type: str
Response event:
match_details
Parameters: - match_id (
int
) – match_id for response - eresult (
steam.enums.common.EResult
) – result enum - match (proto message) – CMsgDOTAMatch
- match_id (
-
request_matches
(**kwargs)¶ Request matches. For arguments see CMsgDOTARequestMatches
Note
Rate limited to 50 requests/day
Warning
Some of the arguments don’t work. Ask Valve
Returns: job event id Return type: str
Response event:
matches
Parameters: message (proto message) – CMsgDOTARequestMatchesResponse
-
request_matches_minimal
(match_ids)¶ Request matches with only minimal data.
Parameters: match_ids ( list
) – match idsReturns: job event id Return type: str
Response event:
matches_minimal
Parameters: matches ( list
) – list of CMsgDOTAMatchMinimal
-
request_top_source_tv_games
(**kwargs)¶ Find top source TV games. For arguments see CMsgClientToGCFindTopSourceTVGames
Response event:
top_source_tv_games
Parameters: response (proto message) – CMsgGCToClientFindTopSourceTVGamesResponse
-
request_player_match_history
(**kwargs)¶ Request player match history
Parameters: - account_id (
int
) – account id - start_at_match_id (
int
) – matches from before this match id (0
for latest) - matches_requested (
int
) – number of matches to return - hero_id (
int
) – filter by hero id - request_id (
int
) – request id to match with the response with the request - include_practice_matches (
bool
) – whether to include practive matches - include_custom_games (
bool
) – whether to include custom matches
Response event:
player_match_history
Parameters: - request_id (
int
) – request id from the reuqest - matches (
list
) – CMsgDOTAGetPlayerMatchHistoryResponse.matches
- account_id (
-