Skip to main content

SkyBlockManager

Skyblock related endpoints

@see

Hierarchy

Index

Constructors

publicconstructor

Methods

publicfetchActiveAuctions

  • fetchActiveAuctions(page?: number, resolveAuctions?: boolean): Promise<{ auctions: APISkyBlockAuction[]; lastUpdated: number; page: number; totalAuctions: number; totalPages: number }>
  • Fetch the currently active auctions (sorted by last updated first and paginated)

    @see

    SkyBlockAuction class. Defaults to true.


    Parameters

    • optionalpage: number

      The page number

    • resolveAuctions: boolean = true

      Whether to resolve the auctions returned, to a

    Returns Promise<{ auctions: APISkyBlockAuction[]; lastUpdated: number; page: number; totalAuctions: number; totalPages: number }>

publicfetchActiveBingoGoals

publicfetchAuction

  • Fetch a SkyBlock auction.


    Parameters

    • identifier: string

      The idenitifer you're using to fetch the auction

    • type: player | uuid | profile

      The type of identifier you're passing (either auction uuid, uuid of the player, uuid of the profile)

    • raw: boolean = false

      Whether to return the raw response, without converting each auction to an @seeSkyBlockAuction class. Defaults to false.

    Returns Promise<SkyBlockAuction[] | APISkyBlockAuction[]>

publicfetchBazaar

publicfetchBingoData

  • Fetch bingo data of a player


    Parameters

    • playerUuid: string

      The uuid of the player

    Returns Promise<FetchBingoDataResponse>

publicfetchCollections

publicfetchElectionAndMayor

publicfetchFireSales

publicfetchItems

publicfetchNews

publicfetchPlayerSkyBlockProfiles

  • fetchPlayerSkyBlockProfiles(playerUuid: string): Promise<SkyBlockProfile[]>
  • Fetch a SkyBlock profiles of a player


    Parameters

    • playerUuid: string

      The uuid of the player

    Returns Promise<SkyBlockProfile[]>

publicfetchProfile

  • Fetch a SkyBlock profile (using a SkyBlock profile uuid). The data returned can differ depending on the players in-game API settings.


    Parameters

    • profileUuid: string

      The uuid of the SkyBlock profile

    Returns Promise<SkyBlockProfile>

publicfetchRecentlyEndedAuctions

publicfetchSkills