jayvan / tempest-watch

Track active tempests in Path of Exile
zlib License
7 stars 5 forks source link

API for list of tempests #2

Closed jayvan closed 9 years ago

jayvan commented 9 years ago

To make 3rd party tools easier, it would be nice if there was an API to get the list of tempest names.

MMcCormick commented 9 years ago

I'd be happy to start on this

jayvan commented 9 years ago

Sure!

The logical route for it would be/api/tempests, but that route shows all of the locations & their active tempests currently. I'm open to renaming the original if you can come up with a better name for it :)

jayvan commented 9 years ago

maybe api/current_tempests for the existing route, and api/tempests for the new one? Depending how warbands work it'd be neat to add support for tracking them in maps in the future so api/current_warbands and api/warbands could work similarly

MMcCormick commented 9 years ago

Definitely. I think changing that structure is more adaptable, but let me think about something shorter. In fact, maybe tempests/current or just tempests with a filter for the current ones makes the most sense. I'll check out the structure.

jayvan commented 9 years ago

Resolved in ee7a110fae26f065e20e855dae5a261f3027ea70