get_match_details {RDota2}R Documentation

Information about a specific match

Description

Player and Game information about a specific match ID.

Usage

get_match_details(match_id, dota_id = 570, language = "en", key = NULL)

Arguments

match_id

The match ID you want to get information about. Can be either numeric or .character

dota_id

Can take one of three values.

  • 570 - Dota 2 (default)

  • 816 - Dota 2 Internal Test

  • 205790 - Dota 2 Beta Test

language

The ISO639-1 language code for returning all the information in the corresponding language. If the language is not supported, english will be returned. For a complete list of the ISO639-1 language codes please visit https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes.

key

The api key obtained from Steam. If you don't have one please visit https://steamcommunity.com/dev in order to do so. For instructions on the correct way to use this key please visit https://github.com/LyzandeR/RDota2 and check the readme file. You can also see the examples. A key can be made available to all the functions by using key_actions. The key argument in individual functions should only be used in case the user needs to work with multiple keys.

Details

A list will be returned that contains three elements. The content, the url and the response received from the api.

The content element is a list that contains information about the players participating in a match and also information about the match. The first element of the content list contains information about the players. The following details are included:

The rest of the elements of the content list contain information about the match. The following details are included:

Value

A dota_api object containing the elements described in the details.

Steam API Documentation

https://wiki.teamfortress.com/wiki/WebAPI/GetMatchDetails

Examples

## Not run: 
get_match_details(match_id = 2686721815)
get_match_details(match_id = 2686721815, language = 'en', key = NULL)
get_match_details(match_id = 2686721815, language = 'en', key = 'xxxxxxxxxxx')

## End(Not run)


[Package RDota2 version 0.1.6 Index]