Open V3NCO opened 6 months ago
Has been an idea before, but it's a bit difficult due to price changes. The entire browse page is updated manually, so we'd have to constantly update prices, as those change more frequently compared to product thumbnails.
I'll keep this open for the time being so anyone with additional suggestions on how to achieve this can tell us through this issue.
Maybe Built by bit or/and sourcexchange has a public API ? That could help get the prices in real time
https://www.postman.com/sourcexchange/workspace/sourcexchange/overview The api docs for sourcexchange. It is not much, but create a ticket in our discord (https://discord.com/invite/XgtSDWwGXx) if you need a new endpoint.
Seems like the sourceXchange API requires an API key. Since this is a static website, that may be an issue. Same goes for BuiltByBit, with the addition that the BuiltByBit API is available only if you have Ultimate, which ends up being $25 + $4/month if you don't have any account upgrades.
I have BBB Ultimate, so the API pricing is not a problem. For the static website part, stuff can potentially be routed through my BlueprintAPI container (or a new one) that's also used for the telemetry endpoint.
That could work yeah, just make sure that you're restricting what routes you can actually access through BlueprintAPI.
Maybe its a good idea to make the whole list more dynamic by using the api. Add the product list to that as well
I think moving over the entire list to BlueprintAPI, then just making that fetchable. Would allow to fetch (and cache) prices on the server-side.
Obviously the static repository will still be used as fallback.
Yeah that would make it more dynamic, sourceXchange even has a blueprint category, if theres an endpoint for that... Even though Builtbybit doesn't
I'll contact them if needed. For now though, I'll keep this open, as there are a couple other things that are having my priorities at the moment.
Okay
@prplwtf bump
My idea is to add prices on the blueprint.zip website and maybe add it as a filter ? I'm not able to do html/css/anything so i can't make a pull request for that, but it's a little suggestion.