[feature request] Price Guide API from bricklink #160
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Please integrate the BrickLink Price API (https://www.bricklink.com/v3/api.page?page=get-price-guide) to display the current value of a set and calculate the total value.
I've been wanting a way to pull bricklink+brickset values without forcing it into bricktracker. What i landed on is a separate little "sidecar" container that talks to brickset/bricklink, and bricktracker just asks it for data. The container queries Bricklink on-demand and can schedule data pulls from brickset. A handful of new env vars are added, but if you do not fill out the url for the secondary container, all brickset/bricklink info is hidden automatically. That way nobody is forced to use it.
I did a POC and it works well.
So for 1.5 the idea is: on a set you see the current value (new/used) and the change based on your purchase price and MSRP. There's a setting to auto fetch this when adding new sets or you can manually fetch it for a set, or fetch all from the admin page.
There also some new pricing info on the statistics page:
Does new+used cover what you wanted, or were you also after price history over time? The Bricklink API doesn't cover as much as i wanted. I wanted to also see pricing for complete/incomplete but that's not available.
That looks great!