API:2/characters/:id/heropoints

From Guild Wars 2 Wiki
Jump to navigationJump to search

/v2/characters/:id/heropoints

HTTP method
GET
Format
json
API version
version 2
Release date
2015-05-22
Scope
account
characters
progression
Optional
none

This resource returns information about the hero points obtained by a character attached to a specific account.

Parameters

  • access_token - (optional) If the API key is not specified in the request header, it can be specified here.

Response

Returns an array of strings marking each hero point obtained by the character. Can be checked against entries skill_challenges in /v2/continents maps.

Example

Request

  https://api.guildwars2.com/v2/characters/<character name>/heropoints
  Authorization: Bearer <API key>

  https://api.guildwars2.com/v2/characters/<character name>/heropoints?access_token=<API key>

Response

 [
   "0-0",
   "0-2",
   ...,
   "0-247",
   "0-248"
 ]

Notes