API:AuctionBrowseSearchItem

__NOTOC__
Query the auctionhouse for results (the auctionhouse window needs to be open for this (duh))
==Parameters==
=== Arguments ===
:;keywords
::String - String to search form eg. an itemname or part of it (optional)
:;minLevel
::Int|nil - The minimum level (optional)
:;maxLevel
::Int|nil - The maximum level (optional)
:;quality
::Int|nil - The quality of the items searched
:::(nil or 1 = all, 2 = Item rarity 1, 3 = Item rarity 2 and so on till 11 which is Item rarity 10)
:;currencyType
::Int|nil - The type of currency
:::(nil or 1 = All, 2 = Gold, 3 = Diamond, 4 = Ruby)
:;runeSlots
::Int|nil - Amount of runeslots
:::(nil or 1 = Any, 2 = 1, 3 = 2, 4 = 3, 5 = 4)
:;usable
::Bool|nil - Only show items usable by the current character default false
:;category
::Int|nil - The highest level filter so Weapon Armor Supplies etc, where Weapon is 1, Armor is 2 and so on
:;subCategory
::Int|nil - The filter within filter1 so for Weapon that is Sword, Axe, Hammer etc where Sword is 1, Axe is 2 and so on
:;subSubCategory
::Int|nil - The filter within filter3 so for Weapon->Sword that is 1-handed and 2-handed where 1h is 1 and 2h is 2
=== Returns ===
:nil
== Examples ==
Search all items within all level ranges with a quality of "Item rarity 2" and higher selling for gold with any amount of runes
AuctionBrowseSearchItem(
"", -- Not matching on any keywords
nil, -- with no minimum level
nil, -- and no maximum level
3, -- with a quality of "Item rarity 2" and higher
2, -- selling for gold coins
2, -- with at least 1 rune slot
false, -- all items including the ones we can't use
2, -- Within category "Armor"
5, -- Within subCategory "Accessories"
1 -- Within subSubCategory "Earrings"
)
Or for example all monster cards
AuctionBrowseSearchItem(
"", -- Not matching on any keywords
nil, -- with no minimum level
nil, -- and no maximum level
nil, -- no minimum quality
nil, -- for whatever currency
nil, -- with whatever amount of runeslots
false, -- all items including the ones we can't use
7, -- Within category "Monster Cards"
nil, -- no subCategory
nil -- no subSubCategory
)
Category:API Auction Function