Description Usage Arguments References See Also Examples
Provides metadata for an individual's profile including their display name, profile URL, and avatar URL.
1 | get_metadata(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. |
Other profile API calls:
get_ladder_summary()
,
get_ladder()
,
get_profile()
,
get_static()
1 2 3 | # Request profile metadata of a particular profile in the European region and
# European realm.
try(get_metadata(region_id = 2, realm_id = 1, host_region = 3437681))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.