Learn R Programming

SC2API (version 1.0.0)

get_gm_leaderboard: Grandmaster Leaderboard

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

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.

References

See Also

Other ladder data API calls: get_season()

Examples

Run this code
# NOT RUN {
# Obtain GM leaderboard for the Korea region
try(get_gm_leaderboard(region_id = 3))
# }

Run the code above in your browser using DataLab