web icon indicating copy to clipboard operation
web copied to clipboard

Adding prices on the bottom right of extensions in the addons page

Open V3NCO opened this issue 1 year ago • 12 comments

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.

V3NCO avatar Apr 18 '24 20:04 V3NCO

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.

prplwtf avatar Apr 19 '24 08:04 prplwtf

Maybe Built by bit or/and sourcexchange has a public API ? That could help get the prices in real time

V3NCO avatar Apr 19 '24 08:04 V3NCO

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.

Jelcoo avatar Apr 19 '24 09:04 Jelcoo

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.

itsvic-dev avatar Apr 19 '24 09:04 itsvic-dev

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.

prplwtf avatar Apr 19 '24 10:04 prplwtf

That could work yeah, just make sure that you're restricting what routes you can actually access through BlueprintAPI.

itsvic-dev avatar Apr 19 '24 10:04 itsvic-dev

Maybe its a good idea to make the whole list more dynamic by using the api. Add the product list to that as well

Jelcoo avatar Apr 19 '24 20:04 Jelcoo

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.

prplwtf avatar Apr 19 '24 20:04 prplwtf

Yeah that would make it more dynamic, sourceXchange even has a blueprint category, if theres an endpoint for that... Even though Builtbybit doesn't

V3NCO avatar Apr 20 '24 18:04 V3NCO

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.

prplwtf avatar Apr 20 '24 19:04 prplwtf

Okay

V3NCO avatar Apr 21 '24 08:04 V3NCO

@prplwtf bump

0x7d8 avatar Oct 07 '24 14:10 0x7d8

@prplwtf this can be relooked at with #31, the api now provides the prices, only a ui is missing

0x7d8 avatar Dec 19 '24 21:12 0x7d8