Learn R Programming

RDota2 (version 0.1.6)

get_response: The engine of the request functions

Description

The function used to fetch the response content inside the the API functions.

Usage

get_response(dota_id, dota_api_method, dota_api_category, api_version, args)

Arguments

dota_id
Can take one of three values.

  • 570 - Dota 2 (default)
  • 816 - Dota 2 Internal Test
  • 205790 - Dota 2 Beta Test

dota_api_method
The api method.
dota_api_category
One of IDOTA2Match or IEconDOTA2.
api_version
The api version.
args
The query arguments for GET.

Value

A response to be used in the rest of the get_* family functions.

Details

This function is of no particular use to the user, but might be useful for anyone who would like to dive deeper into the package development. This function is used to GET the response's content from Steam's API. The function is the core function of the rest of the get_* family functions.