IDOTA2Match
Methods IDOTA2Match
Cream::IDOTA2Match.getleaguelisting(apikey : String)
Cream::IDOTA2Match.getliveleaguegames(league_id : UInt32, match_id : UInt64, apikey : String)
Parameters
league_id
Type: uint32
Optional: true
Description: Only show matches of the specified league id
match_id
Type: uint64
Optional: true
Description: Only show matches of the specified match id
Cream::IDOTA2Match.getmatchdetails(match_id : UInt64, apikey : String)
Parameters
match_id
Type: uint64
Optional: false
Description: Match id
Cream::IDOTA2Match.getmatchhistory(hero_id : UInt32, game_mode : UInt32, skill : UInt32, min_players : String, account_id : String, league_id : String, start_at_match_id : UInt64, matches_requested : String, tournament_games_only : String, apikey : String)
Parameters
hero_id
Type: uint32
Optional: true
Description: The ID of the hero that must be in the matches being queried
game_mode
Type: uint32
Optional: true
Description: Which game mode to return matches for
skill
Type: uint32
Optional: true
Description: The average skill range of the match, these can be [1-3] with lower numbers being lower skill. Ignored if an account ID is specified
min_players
Type: string
Optional: true
Description: Minimum number of human players that must be in a match for it to be returned
account_id
Type: string
Optional: true
Description: An account ID to get matches from. This will fail if the user has their match history hidden
league_id
Type: string
Optional: true
Description: The league ID to return games from
start_at_match_id
Type: uint64
Optional: true
Description: The minimum match ID to start from
matches_requested
Type: string
Optional: true
Description: The number of requested matches to return
tournament_games_only
Type: string
Optional: true
Description: Whether or not tournament games should only be returned
Cream::IDOTA2Match.getmatchhistorybysequencenum(start_at_match_seq_num : UInt64, matches_requested : UInt32, apikey : String)
Parameters
start_at_match_seq_num
Type: uint64
Optional: true
Description:
matches_requested
Type: uint32
Optional: true
Description:
Cream::IDOTA2Match.getscheduledleaguegames(date_min : UInt32, date_max : UInt32, apikey : String)
Parameters
date_min
Type: uint32
Optional: true
Description: The starting time stamp to collect scheduled games from. If ignored, it will use the current time
date_max
Type: uint32
Optional: true
Description: The ending time stamp. If this is more than 7 days past the starting time stamp, it will be clamped to 7 days.
Cream::IDOTA2Match.getteaminfobyteamid(start_at_team_id : UInt64, teams_requested : UInt32, apikey : String)
Parameters
start_at_team_id
Type: uint64
Optional: true
Description:
teams_requested
Type: uint32
Optional: true
Description:
Cream::IDOTA2Match.gettoplivegame(partner : Int32, apikey : String)
Parameters
partner
Type: int32
Optional: false
Description: Which partner's games to use.
Cream::IDOTA2Match.gettopweekendtourneygames(partner : Int32, home_division : Int32, apikey : String)
Parameters
partner
Type: int32
Optional: false
Description: Which partner's games to use.
home_division
Type: int32
Optional: true
Description: Prefer matches from this division.
Cream::IDOTA2Match.gettournamentplayerstats(account_id : String, league_id : String, hero_id : String, time_frame : String, match_id : UInt64, phase_id : UInt32, apikey : String)
Parameters
account_id
Type: string
Optional: false
Description:
league_id
Type: string
Optional: true
Description:
hero_id
Type: string
Optional: true
Description:
time_frame
Type: string
Optional: true
Description:
match_id
Type: uint64
Optional: true
Description:
phase_id
Type: uint32
Optional: true
Description: