get_match_id: A function to get a numeric vector of _n_ match IDs

View source: R/get_match_id.R

get_match_idR Documentation

A function to get a numeric vector of n match IDs

Description

A function to fetch the match IDs of the n most recent matchs that involves the player with the specific player ID provided by the user.

Usage

get_match_id(player_id, n)

Arguments

player_id

The numeric ID of your Dota 2 account, numeric

n

The number of match IDs you want, numeric

Value

The function returns a numeric vector containing the match IDs of the n most recent matchs that involves the player with the specific player ID provided by the user.

Examples

## Not run: 
get_match_id(123456, 20)

## End(Not run)

huayingq1996/DotaR documentation built on March 31, 2022, 2:03 a.m.