Quantcast Is /api command (Blizzard_APIDocumentation) new? - WoWInterface
Thread Tools Display Modes
03-28-17, 06:16 PM   #1
Gello
A Firelord
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 487
Is /api command (Blizzard_APIDocumentation) new?

You can type /api for usage, and then do stuff like:
Code:
/api C_EquipmentSet search GetEquipmentSetInfo
And click on the function to get the type of parameters and returns:


Or "/api unit", then "/api unit search power" (it even lists enums like power types)

It's pretty wild.
  Reply With Quote
03-28-17, 09:05 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,669
Was added in 7.2 as an effort to document the new C_* API.

Raw data: https://github.com/Gethe/wow-ui-sour...IDocumentation

Last edited by p3lim : 03-28-17 at 09:23 PM.
  Reply With Quote
03-28-17, 09:19 PM   #3
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,544
Ooooohhhhhhhh
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
03-28-17, 09:36 PM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,669
Foxlit has already parsed this:

https://www.townlong-yak.com/bad/
  Reply With Quote
03-30-17, 04:31 AM   #5
jaliborc
A Chromatic Dragonspawn
 
jaliborc's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 192
It looks also like they have someone new writing the lua code too. That or the dev completely changed his coding style making this new feature.
Its way more object oriented like addons tend to be.

I like it
  Reply With Quote
03-30-17, 05:00 AM   #6
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
They sure have been up to some crazy stuff lately.
__________________
Grab your sword and fight the Horde!
  Reply With Quote

WoWInterface » PTR » PTR API and Graphics Changes » Is /api command (Blizzard_APIDocumentation) new?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off