I've found a strange problem. I know that auction searches return paged data. One must iterate over each page to get all results. Default interface works like this, Auctionator works like this, TSM works like this and other addons I've seen works like this.
I tinkered with this API and found strange thing. So basically if we are talking about default auction UI and I'm searching for something (only search by name, nothing else), it calls:
Code:
QueryAuctionItems(name, 0, 0, 0, false, -1, false, false, nil)
but if I'll change 5-th parameter from false to 0:
Code:
QueryAuctionItems(name, 0, 0, 0, 0, -1, false, false, nil)
Now this search returns all results as one huge page. I can browse it (using default interface), buyout items, etc.
It would dramatically improve my ability to buyout items from flooded markets, like herbs. Now with Auctionator it took quite a lot of time to scan, rescan, etc.
So I'm worried, is it intended behaviour or some kind of bug? Can I be banned by using this API this way? I'm thinking about addon to help me with mass buy-outs, and it could tremendously benefit from those fast searches.