Apiv2 specializations usage
You have to use the /v2/traits endpoint to lookup traits. It’s currently still in development, but a preview is available at /v2/traits-beta.
You can follow the development and discussion about /v2/traits in the github issue: https://github.com/arenanet/api-cdi/pull/67
On https://api.guildwars2.com/v2 you can see a list of all endpoints.
(edited by darthmaim.6017)
Wait … that’s active? Did I miss an announcement?
Tarnished Coast – Dissentient [DIS]
All classes
It was sort of announced in the comments of a Github pull request. I’m guessing they chose not to announce it here on the forums because /v2/traits is still /v2/traits-beta. They didn’t want to announce /v2/specializations because it sort of depends on /v2/traits to fully get its info.
Harbinger Tryssa – Revenant
/v2/traits-beta exists to get feedback, it’s likely to change response format in breaking ways so we weren’t advertising it super-loudly.
Feel free to use it & definitely provide feedback on bugs/format/etc if you do, but don’t write code that depends on it a) not changing or b) existing forever. Once we roll out /v2/traits for real /v2/traits-beta will be removed.
It was sort of announced in the comments of a Github pull request. I’m guessing they chose not to announce it here on the forums because /v2/traits is still /v2/traits-beta. They didn’t want to announce /v2/specializations because it sort of depends on /v2/traits to fully get its info.
Still, the specializations api is listed on the api wiki page.
Thanks for the replies guys, didn’t know there is another api for traits on the making.
Shameless self-plug: If you don’t want to miss any new endpoints or other announcements, but don’t want to read every single comment here or on github, you can follow my twitter account I created for exactly that: @GW2API.
Still, the specializations api is listed on the api wiki page.
Well, yes, I wrote that page because /v2/specializations seemed to be much LESS in beta and likely to change..and because, for the most part, I have nothing better to do with my time.
Harbinger Tryssa – Revenant
Still, the specializations api is listed on the api wiki page.
Well, yes, I wrote that page because /v2/specializations seemed to be much LESS in beta and likely to change..and because, for the most part, I have nothing better to do with my time.
Yeah, we’re not planning on making any breaking changes to /v2/specializations. Was mostly sitting on it because it’s a bit scary w.r.t not accidentally releasing spoilers but it made sense to turn it on with /v2/traits-beta.
This is really really nice… and by the way we don’t mind spoilers :P.
You may not mind them but I guarantee we do.
Leaking spoilers via the API is a good way to get all API resources re-assigned to other projects.
It was intended aa joke , but yes I understand.
Anyway, this traits API is very useful, you guys have been doing a great job.