[API Suggestion] files => events

[API Suggestion] files => events

in API Development

Posted by: tehtux.8179

tehtux.8179

Hey,

I have tested the files API (https://api.guildwars2.com/v1/files.json).
There are13 files only! :O

Something is missing… “Event indicators” (http://wiki.guildwars2.com/wiki/Events)

Can you add the icons? It would make sense to connect these icons to the events API (https://api.guildwars2.com/v1/events.json) to show events with the correct icon.

[API Suggestion] files => events

in API Development

Posted by: Dr Ishmael.9685

Dr Ishmael.9685

That would indeed be useful.

Add all the possible event icons to files.json: “event_boss”:{"file_id":X,“signature”:"X"}

Then add a field to event_names.json to identify which icon an event uses: {"id":“5FE0AE58-2C78-4E44-9386-FDFE8B8C6767”,“name”:“Defeat Wiggin the Wicked.”,“icon”:"event_boss"}

I suggest event_names.json instead of events.json because, like the event name, it’s something that only needs to be retrieved once, instead of being retrieved every time you check event statuses (which some apps do every 15 seconds).

[API Suggestion] files => events

in API Development

Posted by: poke.3712

poke.3712

Or just in event_details to keep event_names clean.

@poke // GW2W //

[API Suggestion] files => events

in API Development

Posted by: Cliff Spradlin.3512

Cliff Spradlin.3512

Lead Programmer

Feel free to make a suggestion thread for files you want to see in that API. The initial set is just a relatively random set that I picked as a proof of concept.

[API Suggestion] files => events

in API Development

Posted by: smiley.1438

smiley.1438

Feel free to make a suggestion thread for files you want to see in that API. The initial set is just a relatively random set that I picked as a proof of concept.

I’ve already created one ^.^

https://forum-en.gw2archive.eu/forum/community/api/API-Suggestion-Render-Service/first#post2621437

[API Suggestion] files => events

in API Development

Posted by: Dr Ishmael.9685

Dr Ishmael.9685

Or just in event_details to keep event_names clean.

Durr, forgot about event_details. That’s obviously the best location.