Skip to main content
Module

x/hypixel/mod.ts>getSkyBlockProfileMemberCollections

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

This helper takes a profile and scans all of it's member's to get the most accurate collection information possible. Returns false is none of the members of the profile had their collections API enabled.

Parameters

profile: Pick<NonNullable<Components.Schemas.SkyBlockProfile>, "members">

The SkyBlock profile object you want to check.

collections: Components.Schemas.SkyBlockResourcesParentCollections

The collections resource object.