Jump to content

Recommended Posts

Hi everyone,

I’m working on a small personal app to track my weekly progress in a lot of games, World of Warcraft resets, for example and I would love to include my Klei drops progress, and I wanted to ask whether there is an official or recommended way to access this data.

In the browser, while logged into my Klei account and in this link (https://accounts.klei.com/account/transactions), I can see that this endpoint returns the information I need:

https://accounts.klei.com/account/transactions/drops.json

It returns data like:

{
  "ok": true,
  "data": {
    "CurrentWeek": 2940,
    "DropsInfo": {
      "DST": {
        "ClaimedDrops": 0,
        "MaxDrops": 8,
        "GameName": "Don't Starve Together"
      },
      "ONI": {
        "ClaimedDrops": 1,
        "MaxDrops": 6,
        "GameName": "Oxygen Not Included"
      }
    },
    "Locale": "es-ES",
    "WeekEnd": 1778189999999
  }
}

My goal is only to display my own current drops progress and a countdown until the weekly reset/end time in my personal app.

Is there any official way to call this endpoint, for example with an account API key or token? Or is it only meant to work through the logged-in browser session/cookies?

I’m not trying to scrape or automate anything against the rules. I just want to know whether there is a supported way to access this data safely from a personal app, or whether I should avoid using this endpoint outside the Klei website.

Thanks!

  • Developer

You're welcome to inspect the APIs, no need to worry there. We don't generally put a lot of engineering time into formal APIs but we love it when players make cool things with them. I'll check with my team and see if it would be quick to expose a nicer way of getting this info.

  • Like 1
  • Big Ups 1

Thank you so much! I have over 800 hours in Oxygen Not Included and still have a lot of missing skins because I sometimes forget to log in for weeks at a time, then dump 100 hours into it in two weeks. :) If it’s something that could be done, that would be amazing. If not, I’ll use the profile link without any problem. Thank you!

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...