Open Iiridayn opened 3 years ago
I think it's a good idea, but like you say the data isn't conveniently available. Some recipes are only available from certain vendors in hard-to-reach locations, or the pact supply network agents that change location, so I'm not sure if I want to tackle this personally, but I'd welcome contributions.
Thank you very much for this - this is a tool I have considered building, and I hopefully would have thought to account for market liquidity while I was building it (I had intended to account for trade volume to forecast, so not entirely dissimilar). One feature I had hoped to build in my hypothetical tool was to account for recipe cost.
Currently, "Feast of Roasted Parsnips" is the top item to produce, but requires a mystic forge recipe which costs >108g (199g on the TP). While an investment of 108g for a profit of 8g seems valuable if repeatable 14 times, I'm not sure enough "Feast of Roasted Parsnips" move to justify the investment. I suspect most of the buy volume comes from traders canceling trades, and am hesitant to produce an item which will only be resold, but (almost) never actually used.
While the "feast" recipes are available on the TP (but ideally should show the cheaper of the sell price or Mystic Forge recipe), others, like the "Sunspear Smasher" are account bound, requiring various currencies to purchase (estimating the total value of those in gold can be hard, and is likely best left to the [fast] website or another dedicated tool).
This would likely require bothering the wiki or an aggregator of the wiki data, as I don't believe this data is available in the API. The wiki has an API returning the wikitext, which might be simpler to parse than the HTML; ie, at https://wiki.guildwars2.com/rest.php/v1/page/Recipe:_Feast_of_Roasted_Parsnips.
It looks like https://github.com/gw2efficiency/custom-recipes is a good wiki data aggregator for non-api recipes. Something similar would be feasible for recipe acquisition data.