Skip to content

feat: Add search param to ScreepsHttpClient.scoreboardList#114

Merged
DocDvorak merged 1 commit into
screepers:masterfrom
DocDvorak:scoreboard-list
Jun 19, 2026
Merged

feat: Add search param to ScreepsHttpClient.scoreboardList#114
DocDvorak merged 1 commit into
screepers:masterfrom
DocDvorak:scoreboard-list

Conversation

@DocDvorak

@DocDvorak DocDvorak commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Adds a new search?: string param to the end of ScreepsHttpClient.scoreboardList().

Example: yarn run cli call --server season scoreboardList 0 20 Dr

{
  ok: 1,
  users: [
    {
      username: 'DroidFreak',
      badge: [Object],
      score: 8687050,
      rank: 8
    },
    { username: 'DrDvorak', badge: [Object], score: 6114930, rank: 17 },
    { username: 'Drak', badge: [Object], score: 4689710, rank: 25 },
    { username: 'Dreace', badge: [Object], score: 4638582, rank: 26 },
    {
      username: 'InTeaM_Drake',
      badge: [Object],
      score: 1019060,
      rank: 76
    },
    { username: 'AstralDragon', badge: [Object], rank: 205 },
    { username: 'Dreamfire', badge: [Object], rank: 242 },
    { username: 'Dr_BopoH', badge: [Object], rank: 350 },
    { username: 'DreamIsland', badge: [Object], rank: 351 }
  ],
  meta: { length: 9 }
}

@DocDvorak DocDvorak changed the title feat: Add search param to GET /api/scoreboard/list endpoint method feat: Add search param to ScreepsHttpClient.scoreboardList Jun 17, 2026
@DocDvorak DocDvorak merged commit 041754d into screepers:master Jun 19, 2026
2 checks passed
@DocDvorak DocDvorak deleted the scoreboard-list branch June 19, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant