/v2/characters:id/heropoints

/v2/characters:id/heropoints

in API Development

Posted by: Anhim.3156

Anhim.3156

So it seems that this endpoint returns an array of strings. My guess is each strings represents a specific hero point. I can’t seem to be able to find where one would resolve these strings though. There doesn’t seem to be an obvious /v2/heropoints endpoint, so am I missing something?

/v2/characters:id/heropoints

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

They’re only on /v2/continents/… for now, e.g. Queensdale, in the skill_challenges section. It’s kind of an inconvenient place for them, admittedly; might be worthwhile to add a /v2/heropoints that provides the floor/region/map/coords (even if that means some data duplication).

/v2/characters:id/heropoints

in API Development

Posted by: Anhim.3156

Anhim.3156

Ok, so as it stands you would need to scan the entire /v2/continents to find which hero point (still labelled skill_challenge btw) you obtained. That seems…. inefficient. I think I would vote for a master repository of them myself.

In a similar fashion (but slightly off-topic) where does one resolve the /v2/characters:id/training endpoint? I can’t seem to find anywhere for those skill trees.

/v2/characters:id/heropoints

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

The “training” field of /v2/professions.

/v2/characters:id/heropoints

in API Development

Posted by: Anhim.3156

Anhim.3156

Many thanks for the explanations!