Sluimerstand / ProfessionShoppingList

Track recipes, reagents, cooldowns, and more!
4 stars 4 forks source link

Better Auctionator support #135

Closed Sluimerstand closed 1 month ago

Sluimerstand commented 1 month ago

plusmouse — Today at 00:11 @Sluimerstand I noticed you use the Auctionator internals for your addon Profession Shopping List, you can also use Auctionator.API.v1.CreateShoppingList to make a shopping list and do the search. I haven't got around to documenting all the new-ish public APIs that let you do that, but they're found at https://github.com/Auctionator/Auctionator/blob/master/Source/API/v1/ShoppingLists.lua. Especially useful is Auctionator.API.v1.ConvertToSearchString,

-- Get a gold rank serevite ore search string
local searchString =  Auctionator.API.v1.ConvertToSearchString("PSL", {searchString = "Serevite Ore", tier = 3})

The APIs are stable and won't break between releases, but the internals might

Sluimerstand commented 1 month ago

Implemented with 40de66f.