get_static {SC2API} | R Documentation |
Static Profile Data
Description
Provides static information (achievements, categories, criteria, and rewards) about SC2 profiles in a given region.
Usage
get_static(region_id, host_region = "us")
Arguments
region_id |
A numeric argument indicating the region of the profile.
|
host_region |
The host region that the API call will be sent to. For most API calls, the same data will be returned regardless of which region the request is sent to. Must be one of "us", "eu", "kr", "tw", "cn". For more information on regionality, refer to Regionality and APIs. |
References
See Also
Other profile API calls:
get_ladder_summary()
,
get_ladder()
,
get_metadata()
,
get_profile()
Examples
# Request static data of profiles in the EU region. Request is sent through
# the U.S. host region.
try(get_static(region_id = 2, host_region = "us"))
# Request static data of profiles in the China region. The request must be
# sent to the China gateway.
try(get_static(region_id = 5, host_region = "cn"))
[Package SC2API version 1.0.0 Index]