get_gm_leaderboard: Grandmaster Leaderboard

Description Usage Arguments Note References See Also Examples

View source: R/ladder.R

Description

Provides a full listing of players currently in the grandmaster leaderboard. Also provides other information such as player profile information, records (match record, MMR, etc.), and clans.

Usage

1
get_gm_leaderboard(region_id, host_region = "us")

Arguments

region_id

A numeric argument indicating the region of the profile.

  • 1 = US Region

  • 2 = EU Region

  • 3 = KR/TW Region

  • 5 = CN Region

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.

Note

This API call is currently not supported for the China region (region_id = 5).

References

See Also

Other ladder data API calls: get_season()

Examples

1
2
# Obtain GM leaderboard for the Korea region
try(get_gm_leaderboard(region_id = 3))

SC2API documentation built on Oct. 23, 2020, 7:10 p.m.