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

LeaderboardEntry

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

The Leaderboard Entry resource.

interface LeaderboardEntry {
formattedScore?: string;
formattedScoreRank?: string;
kind?: string;
player?: Player;
scoreRank?: bigint;
scoreTag?: string;
scoreValue?: bigint;
timeSpan?: "ALL_TIME" | "WEEKLY" | "DAILY";
writeTimestampMillis?: bigint;
}

§Properties

§
formattedScore?: string
[src]

The localized string for the numerical value of this score.

§
formattedScoreRank?: string
[src]

The localized string for the rank of this score for this leaderboard.

§
kind?: string
[src]

Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardEntry.

§
player?: Player
[src]

The player who holds this score.

§
scoreRank?: bigint
[src]

The rank of this score for this leaderboard.

§
scoreTag?: string
[src]

Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.

§
scoreValue?: bigint
[src]

The numerical value of this score.

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

The time span of this high score.

§
writeTimestampMillis?: bigint
[src]

The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.