match¶
Features related to matches and matchmaking.
-
class
dota2.features.match.Match¶ Bases:
object-
request_matchmaking_stats()¶ Request matchmaking statistics
Response event:
matchmaking_statsParameters: 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: strResponse event:
match_detailsParameters: - 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: strResponse event:
matchesParameters: 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: strResponse event:
matches_minimalParameters: 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_gamesParameters: 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 (0for 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_historyParameters: - request_id (
int) – request id from the reuqest - matches (
list) – CMsgDOTAGetPlayerMatchHistoryResponse.matches
- account_id (
-