Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AucuneInspiexe opened this issue Apr 18, 2024 · 11 comments
Open

Comments

@AucuneInspiexe
Copy link

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.

@prplwtf
Copy link
Member

prplwtf commented Apr 19, 2024

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.

@AucuneInspiexe
Copy link
Author

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

@Jelcoo
Copy link
Member

Jelcoo commented Apr 19, 2024

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.

@itsvic-dev
Copy link
Member

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.

@prplwtf
Copy link
Member

prplwtf commented Apr 19, 2024

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.

@itsvic-dev
Copy link
Member

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

@Jelcoo
Copy link
Member

Jelcoo commented Apr 19, 2024

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

@prplwtf
Copy link
Member

prplwtf commented Apr 19, 2024

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.

@AucuneInspiexe
Copy link
Author

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

@prplwtf
Copy link
Member

prplwtf commented Apr 20, 2024

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.

@AucuneInspiexe
Copy link
Author

Okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants