EtienneLamoureux / sc-trade-tools

Issues repository for SC Trade Tools
http://sc-trade.tools
23 stars 4 forks source link

Update prices using the UEX API #116

Closed Jordak closed 9 months ago

Jordak commented 2 years ago

UEX Corp provides an API for getting price data. Anecdotally, it has always been more up-to-date than sc-trade-tools. It would be great if sc-trade-tools used this data.

You would probably want to cache the data. You shouldn't need to get too fancy, since UEX provides an endpoint that has all buy/sell data for all trade ports at once (https://portal.uexcorp.space/api/tradeports). Fetch all the price data from all locations at once on a batch job every 24 hours, and simply cache that result until the next batch job.

On a related note, I'd love to help out on this project. Any plans to make it open-source and allow pull requests?

EtienneLamoureux commented 2 years ago

Thanks for the suggestion, I'll take a look at that integration.

And unfortunately no, we do not plan to accept contributions at this time, but thanks for the interest!

EtienneLamoureux commented 9 months ago

We will be updating the tools' data using https://github.com/EtienneLamoureux/sc-trade-companion going forward. That application is open-source.

EtienneLamoureux commented 5 months ago

UEX API has been added as a data point