ResamVi / dontstarve-datavis

Visualizing Don't Starve Together metrics
GNU Lesser General Public License v3.0
9 stars 0 forks source link

Klei Changing their API #3

Open X-lem opened 1 year ago

X-lem commented 1 year ago

Hello 👋 @ResamVi

Just wanted to let you know that Klei is changing their API routes. It also looks like it's not possible to get back the full dataset anymore (you can only get individual rows). Looking at your code it seems like you need this functionality (I do as well for what I've written).

I created a Klei Forum post requesting they add back that functionality. Feel free to comment on it requesting it as well. Maybe if enough of us show that we use it they'll add it back in.

https://forums.kleientertainment.com/forums/topic/145533-adding-back-in-call-to-get-full-data-set/

X-lem commented 1 year ago

Here is the URL to get the lobbies: https://lobby-v2-cdn.klei.com/regioncapabilities-v2.json Here is the URL to get the server data (the one where you need your Klei Token): https://lobby-v2-{lobby}.klei.com/lobby/read

ResamVi commented 1 year ago

Hey @X-lem! Thanks for letting me know ❤️ Let me have a look on the weekend and I'll comment as well.

X-lem commented 1 year ago

Hey @X-lem! Thanks for letting me know ❤️ Let me have a look on the weekend and I'll comment as well.

Sounds good, make sure to ping JessieB. Not sure he'll see it otherwise.

boobthecat commented 1 year ago

Hey! Will you fix it?

ResamVi commented 1 year ago

Hey! Will you fix it?

I made some progress this week but the time charts look a little wonky still and the diagram labels are not aligned to their bar. But a current running version can be seen when waiting 3-4s to load the data: https://dst.resamvi.io/