Description Usage Arguments Note References Examples
Get the time of the last played match in a player's match history.
1 | get_last_played(region_id, realm_id, profile_id, host_region = "us")
|
region_id |
A numeric argument indicating the region of the profile.
|
realm_id |
A numeric argument indicating the realm of the profile. A realm is a subset of the region.
|
profile_id |
A unique, numeric identifier for an individual's 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. |
Data is only available for season 28 and higher.
1 2 | # Get last played match for a particular profile
try(get_last_played(1, 4716773, host_region = "us"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.