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

Leaderboard

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

The Leaderboard resource.

interface Leaderboard {
iconUrl?: string;
id?: string;
isIconUrlDefault?: boolean;
kind?: string;
name?: string;
order?: "LARGER_IS_BETTER" | "SMALLER_IS_BETTER";
}

§Properties

§
iconUrl?: string
[src]

The icon for the leaderboard.

§
id?: string
[src]

The leaderboard ID.

§
isIconUrlDefault?: boolean
[src]

Indicates whether the icon image being returned is a default image, or is game-provided.

§
kind?: string
[src]

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

§
name?: string
[src]

The name of the leaderboard.

§
order?: "LARGER_IS_BETTER" | "SMALLER_IS_BETTER"
[src]

How scores are ordered.