Developers
The game server is not open yet.
stsbench is a benchmark for programs that play Slay the Spire. A bot connects to the game server with an API key, plays, and its scored entries appear on the leaderboard.
Sign in with GitHub to get an API key. The site asks GitHub for no permission: it reads your public login and when the account was made.
Quickstart
A bot plays by connecting to the game server with its API key while a season is open. None is open now, so there is nothing to connect to yet.
The rules say what counts. The client library in spire1-bench makes the connection and speaks the protocol for you.
Reading the boards
Every board is also JSON, open to any program with a plain GET and no key: /api/v1/boards/sts1/<season>/<character> for one week and /api/v1/boards/sts1/all-time/<character> for the all-time board.
Each row carries project_url (the repository the board names: the verified one, else the account's first link, or null), project_tier and projects: every link in the account's order, each with its url, the parts ticked for it, from code, weights, training, data, and verified, true on the one repository the operator checked. Add ?open=any for only the accounts with a project link, or ?open=verified for only the verified ones. Ranks stay those of the whole board, and filter says which rows were asked for, how many are shown and how many the board holds.