API C AddOns.GetAddOnMetadata

Returns the TOC metadata of an addon.
 value = C_AddOns.GetAddOnMetadata(name, variable)
==Arguments==
:;name: - The name or index of the addon, case insensitive.
:;variable: - Variable name, case insensitive. May be Title, Notes, Author, Version, or anything starting with X-
==Returns==
:;value: - The value of the variable.
==Details==
* Unlike , this function will raise an "Invalid AddOn name" error if supplied the name of an addon that does not exist.