Skip to main content
Module

x/hypixel/index.ts>Client#leaderboards

With thorough IntelliSense support & 100% test coverage, this is an unopinionated async/await API wrapper for Hypixel's Public API. It is developed in TypeScript complete with documentation, typed interfaces for all API responses (and an OpenAPI 3.0 schema!), built-in rate-limit handling, flexible cache support, helper functions, and support for undocumented endpoints.
Latest
method Client.prototype.leaderboards
import { Client } from "https://deno.land/x/hypixel@v3.1.1/index.ts";

Returns a list of the official leaderboards and their current standings for games on the network.

Examples

Example 1

const leaderboards = await client.leaderboards();
console.log(leaderboards);

Returns

Promise<ResultObject<Paths.Leaderboards.Get.Responses.$200, ["leaderboards"]>>