Skip to content

GetInventoryInfo API Documentation

plusmouse edited this page Mar 20, 2024 · 8 revisions
-- Returns details about which not hidden characters and guilds contain items matching the item link.
--   itemLink: string
--   onlyConnectedRealms: boolean
--   onlyCurrentFaction: boolean
Syndicator.API.GetInventoryInfo(itemLink, onlyConnectedRealms, onlyCurrentFaction)
Syndicator.API.GetInventoryInfoByItemLink(itemLink, onlyConnectedRealms, onlyCurrentFaction)

Sample output

[12:14:55] Dump: value=Syndicator.API.GetInventoryInfo("[Flying Carpet]")
[12:14:55] [1]={
[12:14:55]   characters={
[12:14:55]     [1]={
[12:14:55]       bags=1,
[12:14:55]       auctions=0,
[12:14:55]       realmNormalized="MirageRaceway",
[12:14:55]       void=0,
[12:14:55]       character="CharacterName1",
[12:14:55]       sex=2,
[12:14:55]       className="ROGUE",
[12:14:55]       mail=0,
[12:14:55]       race="Vulpera",
[12:14:55]       equipped=0,
[12:14:55]       bank=0
[12:14:55]     }
[12:14:55]   },
[12:14:55]   guilds={
[12:14:55]     [1]={
[12:14:55]       bank=3,
[12:14:55]       guild="GuildName1",
[12:14:55]       realmNormalized="MirageRaceway"
[12:14:55]     }
[12:14:55]   }
[12:14:55] }

Clone this wiki locally