get_match_history_by_sequence_num {RDota2} | R Documentation |
A list of Matches
Description
A list of matches ordered by a sequence number.
Usage
get_match_history_by_sequence_num(start_at_match_seq_num = NULL,
matches_requested = NULL, dota_id = "570", language = "en",
key = NULL)
Arguments
start_at_match_seq_num |
(Optional) The match sequence number to start returning results from. |
matches_requested |
(Optional) The number of matches to return. |
dota_id |
Can take one of three values.
|
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
|
Details
A list will be returned that contains three elements. The content, the url and the response received from the api.
The content element of the list contains information about the matches. Each match follows exactly the same structure as the match retrieved from get_match_details. Please check that function's help for detailed information.
Value
A dota_api object containing the elements described in the details.
Steam API Documentation
https://wiki.teamfortress.com/wiki/WebAPI/GetMatchHistoryBySequenceNum
Examples
## Not run:
get_match_history_by_sequence_num()
get_match_history_by_sequence_num(matches_requested = 2, start_at_match_seq_num = 250)
get_match_history_by_sequence_num(language = 'en', key = NULL)
get_match_history_by_sequence_num(language = 'en', key = 'xxxxxxxxxxx')
## End(Not run)