ScoresListWindowOptions
import type { ScoresListWindowOptions } from "https://googleapis.deno.dev/v1/games:v1.ts";
Additional options for Games#scoresListWindow.
interface ScoresListWindowOptions {
language?: string;
maxResults?: number;
pageToken?: string;
resultsAbove?: number;
returnTopIfAbsent?: boolean;
timeSpan: "ALL_TIME" | "WEEKLY" | "DAILY";
}§Properties
§
maxResults?: number
[src]The maximum number of leaderboard scores to return in the response. For
any response, the actual number of leaderboard scores returned may be less
than the specified maxResults
.
§
resultsAbove?: number
[src]The preferred number of scores to return above the player's score. More scores may be returned if the player is at the bottom of the leaderboard; fewer may be returned if the player is at the top. Must be less than or equal to maxResults.