Skip to main content

API 1 - SokrobanAPI

SokrobanAPI (v1)

Download OpenAPI specification:Download

Sokroban API

Sokroban

Stores Login Credentials

path Parameters
Username
required
string

username of player

Password
required
string

Password of player

Responses

Checks passed Username/Password with stored info to confirm user

path Parameters
Username
required
string

Username of player

Password
required
string

Password of player

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Saves level stats

path Parameters
Username
required
string

Username of player

Score
required
integer

Score for level

Time
required
integer

Time took to complete level

Level
required
integer

Level user finished on

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Returns Level Data

path Parameters
Username
required
string
Example: SokrobanMaster77

Username of player

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Gets Players Scores,Time,and highest level

path Parameters
Username
required
string
Example: SokrobanMaster77

Username of player

Responses

Response samples

Content type
[
  • {
    }
]