Thread: Location Search
View Single Post
06/08/20, 07:15 AM   #3
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
I've actually played with the thought of making something like that in the past, but in the end decided against it because as Baertram has outlined, it would take a lot of effort to keep it running due to the lack of appropriate APIs.
You can likely fetch most data programmatically from somewhere one way or another, but that would be something you'd have to do on the author end and include in the addon code for users since it takes some manual steps (visit a crafting station to get its set data) or is too slow to do on the fly (e.g. switching maps to fetch all POIs). And this would have to be repeated for each language you want to support, which makes it even more time consuming.

That said, there are already addons that have data for certain things which you could build on top off, so you only have to focus on the search part.
e.g. AwesomeGuildStore has the guild trader locations (when the trader list feature is on), Crafting Stations knows which set can be crafted where, etc.
I guess it would be quite difficult and kind of quick to break if you tried to read their data from your end, so maybe instead you should focus on making a good and popular search box addon which only has some basic data (e.g. POIs of the current map) and offers an api for other addons to provide additional data to it? Other authors then just have to plug their addon's data into yours and it would grow with what the user has installed.
  Reply With Quote