Leablo.2651 Posted November 7, 2019 Share Posted November 7, 2019 As seen in this example: https://api.guildwars2.com/v2/skills?ids=13009When a skill has split facts the API simply returns multiple objects with otherwise identical labeling. I might assume by convention that the first copy of the fact is for PvE, but this is not explicit in the actual response, nor is there an indication that it is split at all, this has to either be assumed or referenced by checking in game. Now that the balance team has more leeway to make changes specific to PvP and/or WvW some more clarity will be needed. As necessary, please either modify labeling of the response data to indicate mode variations when different from PvE, or refactor the response to produce separate fact arrays for each mode. Link to comment Share on other sites More sharing options...
WeAreTwO.9780 Posted May 1, 2020 Share Posted May 1, 2020 I want to remind to that problem, as it is a major problem when dealing with skill and trait facts. We can't simply use the first one for PvE, because sometimes the 2nd fact actually is the correct PvE fact: https://api.guildwars2.com/v2/traits?ids=861Also a general order flag would be great. The facts from the api seem random. Link to comment Share on other sites More sharing options...
blobfish.6712 Posted October 6, 2020 Share Posted October 6, 2020 I guess this is another thing on the list that will never be fixed. It makes it very difficult to use the API as I have to hard code a dictionary of all ID's to their mode/environment Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now