Jump to content

Klei client token (for Discord bot player listing)


Recommended Posts

Hello folks!

I developed Discord bot few weeks ago, see https://github.com/IamFlea/antlion-dst-discord-bot I hope it is okay that I named it Antlion.
It utilizes Steam API for obtaining player list. With Steam API, I can find out player names, age and if they are in the caves or not. 

I found out that Klei created some kind of REST API for the lobby browsing. With Klei's API, I can extend the player list with a chosen character and the server day. However for fully working solution, I would need a permanent client token. Including a few fixes, because the Klei's row ID changes in time. 

The problem is that my client token doesn't persist for long time after my login. It is usually removed on the Klei's server in an hour after I logout from the game. Thus, I write here, if anybody knows how to get permanent client token. 

Thank you for any advice! 

Link to comment
Share on other sites

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
 Share

×
  • Create New...