Before i start working with these: please group the events by map_id if possible. (It’s already a pain in the kitteh to write workarounds for getting a poi by id in the maps API. I don’t like workarounds – i like usable data
)
Before i start working with these: please group the events by map_id if possible. (It’s already a pain in the kitteh to write workarounds for getting a poi by id in the maps API. I don’t like workarounds – i like usable data
)
ANet, please get rid of dynamic keys in (some of) your JSON APIs.
https://forum-en.guildwars2.com/forum/community/api/API-Request-Results-as-map-id-details/2121379 is the discussion that led to our transition to use dictionaries instead of arrays when it makes sense to do so.
The data format for these events are more suited to be a dictionary than an array, and there should be no downsides to having them presented in this format. In javascript there are definitely no downsides.
A quick look at the RestSharp library seems to show that it supports parsing JSON dictionaries. Am I missing something?