From dbb3fee524f96eb0d16fb1bdb8d75df27470dd84 Mon Sep 17 00:00:00 2001 From: Joshua Raphael Date: Fri, 9 Jan 2026 19:45:18 -0700 Subject: [PATCH] fix: getUserGameLeaderboards required username --- docs/v1/get-user-game-leaderboards.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/v1/get-user-game-leaderboards.md b/docs/v1/get-user-game-leaderboards.md index 0b28418..c0ee9c0 100644 --- a/docs/v1/get-user-game-leaderboards.md +++ b/docs/v1/get-user-game-leaderboards.md @@ -28,7 +28,7 @@ You must query the user by either their username or their ULID. Please note the | :--- | :-------- | :----------------------------------------------------------- | | `y` | Yes | Your web API key. | | `i` | Yes | The target game ID. | -| `u` | | The target username or ULID. | +| `u` | Yes | The target username or ULID. | | `c` | | Count, number of records to return (default: 200, max: 500). | | `o` | | Offset, number of entries to skip (default: 0). | @@ -51,6 +51,7 @@ const authorization = buildAuthorization({ username, webApiKey }); // Then, make the API call. const gameLeaderboards = await getUserGameLeaderboards(authorization, { gameId: 14402, + username: "zuliman92", }); ```