get_public_matches: Get Public Matches

View source: R/get_public_matches.R

get_public_matchesR Documentation

Get Public Matches

Description

Get a selection of randomly sampled public matches.

Usage

get_public_matches(
  less_than_match_id = NULL,
  mmr_ascending = NULL,
  mmr_descending = NULL,
  use_hero_names = TRUE
)

Arguments

less_than_match_id

Optional. Get matches with a match ID lower than this value

mmr_ascending

Optional. If TRUE, will order results by ascending MMR. Cannot be TRUE if mmr_descending is TRUE.

mmr_descending

Optional. If TRUE, will order results by descending MMR. Cannot be TRUE if mmr_ascending is TRUE.

use_hero_names

Logical. If TRUE, will return hero names instead of IDs. If FALSE, will return hero IDs.

Value

a tibble containing a limited set of information about the match. Passing match ids to get_match can provide more data about individual matches

Examples

## Not run: 
a <- get_public_matches()
b <- get_public_matches(less_than_match_id = 6192935701)

## End(Not run)

ekholme/rdota documentation built on March 19, 2022, 1:56 p.m.