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

x/hypixel/mod.ts>default#watchdogstats

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 default.prototype.watchdogstats
import { default } from "https://deno.land/x/hypixel@v3.1.1/mod.ts";

Returns some statistics about Watchdog & bans.

Examples

Example 1

const response = await client.watchdogstats();
console.log(response);
// {
//   watchdog_lastMinute: 1,
//   staff_rollingDaily: 3014,
//   watchdog_total: 5589923,
//   watchdog_rollingDaily: 4662,
//   staff_total: 1874174
// }

Returns

Promise<ResultObject<Paths.Watchdogstats.Get.Responses.$200, ["success"]>>