Speedrun Leaderboards
@reset/speedrun-leaderboardsv2026.10.24.1
01README
Record speedrun.com leaderboards over time and their record moves.
02Behaviors
@reset/speedrun-leaderboardsv2026.10.24.1speedrun_leaderboards.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| game | string | The game's id or abbreviation, as in speedrun.com/<abbreviation>, e.g. celeste |
| categoryIds | array | Category ids to record, 1 to 10, from GET /games/{game}/categories, e.g. 7kjpl1gk for Any% |
| top? | number | How many places of each board to record, 1 to 100; 10 when omitted |
fn sample()
Read each configured category's board from speedrun.com's API and record its top places as a new version, flagging record moves
fn summarise(since?: string)
Summarise the recorded samples: per category the first and latest record, how often it moved, and how many runs were seen
| Argument | Type | Description |
|---|---|---|
| since? | string | Only summarise samples recorded at or after this ISO-8601 time; all samples when omitted |
Resources
leaderboards(infinite)— The configured categories' top places at one moment, flagging new runs and records that improved
summary(infinite)— Per category the first and latest record and who holds it, how often the record moved, and how many runs were seen
03Stats
B
87 / 100
Downloads
3
Archive size
15.4 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository0/2missing
behavior-spelling1 accepted
- (extension) — Written against swamp 20261020.024627.0, the release that added the behavior spelling. Consumers on an older swamp are not supported.
05Platforms
06Labels