View Single Post
12-30-14, 05:58 PM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Nightstaber View Post
Why would we / i need an API to get this information?
Because the only ways you can get any information in an addon are:

1) Get the information from the game through an API function. This is how you get information like "how much health do I have?" and "what items are on the auction house right now" etc.

2) Collect the information from some source outside of the game and hard-code it into the addon files. This is time consuming and typically very tedious, even if you write a script to do most of the work for you, not to mention it's easy to end up loading multiple megabytes of static data, so everyone avoids it when possible.

This is why it would be much easier to add the display feature you want to an addon that's already done all the work of collecting and formatting the data in an addon-usable way, like Ackis Recipe List.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote