Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ScoresListOptions

import type { ScoresListOptions } from "https://googleapis.deno.dev/v1/games:v1.ts";

Additional options for Games#scoresList.

interface ScoresListOptions {
language?: string;
maxResults?: number;
pageToken?: string;
timeSpan: "ALL_TIME" | "WEEKLY" | "DAILY";
}

§Properties

§
language?: string
[src]

The preferred language to use for strings returned by this method.

§
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.

§
pageToken?: string
[src]

The token returned by the previous request.

§
timeSpan: "ALL_TIME" | "WEEKLY" | "DAILY"
[src]

Required. The time span for the scores and ranks you're requesting.