Skip to content

celltosingularityprojects/C2S-Discord-Link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C2S-Discord-Link

the REST API for handling C2S UserData in Cell to Singularity

Prerequisites

  • Base URL

http://127.0.0.1:3000/userdata

  • Authorization

USERDATA_AUTH

  • UserData Definition

interface UserData {
  discordId: Snowflake;
  token: string;
  betaTester: boolean;
  metabits: number;
  dino_rank: number;
  prestige_rank: number;
  singularity_speedrun_time: number;
  all_sharks_obtained: boolean;
  all_hidden_achievements_obtained: boolean;
  edited_timestamp: number;
}
  • POST ?playerId={playerId} update entry

Body -

{
  playerToken: String,
  metabits: Number
}

Response -

UserData

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages