Description Usage Arguments References See Also Examples
Provides the current season ID, starting date, and ending date.
1 | get_season(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 ladder data API calls:
get_gm_leaderboard()
1 2 | # Obtain current season information for the European region
try(get_season(region_id = 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.