Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hypixel/index.ts>Guild#id

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 Guild.prototype.id
Re-export
import { Guild } from "https://deno.land/x/hypixel@v3.1.1/index.ts";

Returns the guild by the requested ID if found.

Examples

Example 1

const guild = await client.guild.id("553490650cf26f12ae5bac8f");

Parameters

id: Paths.Guild.Get.Parameters.Id

Returns

Promise<ResultObject<Paths.Guild.Get.Responses.$200, ["guild"]>>