Description Usage Arguments References See Also Examples
Provides static information (achievements, categories, criteria, and rewards) about SC2 profiles in a given region.
1 | get_static(region_id, host_region = "us")
|
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. |
Other profile API calls:
get_ladder_summary()
,
get_ladder()
,
get_metadata()
,
get_profile()
1 2 3 4 5 6 7 | # 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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.