ianrenton / Skyblock-Bazaar-Flipping-Calculator

Hypixel Skyblock bazaar "flipping" profit calculator
https://bazaarflip.ianrenton.com/
The Unlicense
31 stars 25 forks source link

Suggestion for NPC selling price option #13

Closed yourMothah closed 6 months ago

yourMothah commented 1 year ago

Maybe you guys can add NPC price also for certain materials compare to sell price order in the market (Bazaar)

ianrenton commented 1 year ago

Hi, thanks for the suggestion! Unfortunately I can't see any method of getting the NPC trade prices through the Skyblock API, so it would be difficult to implement this - unless you know the data is available somewhere?

AlgoRythm-Dylan commented 1 year ago

Hi, thanks for the suggestion! Unfortunately I can't see any method of getting the NPC trade prices through the Skyblock API, so it would be difficult to implement this - unless you know the data is available somewhere?

The API is https://api.hypixel.net/resources/skyblock/items

Many entries have npc_sell_price

ianrenton commented 1 year ago

Sorry it took me a while to get around to this! I have added a toggle box for the feature at the top, and items that can be sold to an NPC for more profit now indicate their NPC sale price with " (to NPC)" rather than their bazaar sale price. Does this meet your requirement? I could add a second line to affected table rows for a true comparison of bazaar vs NPC price if you would prefer that.