→ WoW API
Retrieves the number of auction items of a certain type.
batch,count = GetNumAuctionItems("list");
- (string type)
- One of the following:
- Items up for auction, the "Browse" tab in the dialog.
- Items the player has bid on, the "Bids" tab in the dialog.
- Items the player has up for auction, the "Auctions" tab in the dialog.
- The size of the batch.
- The total number of items.
numBatchAuctions, totalAuctions = GetNumAuctionItems("bidder");