SkyBlockManager
Hierarchy
- BaseManager
- SkyBlockManager
Index
Constructors
publicconstructor
Parameters
client: Client
Returns SkyBlockManager
Methods
publicfetchActiveAuctions
Fetch the currently active auctions (sorted by last updated first and paginated)
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
Fetch information regarding the current bingo event and its goals
Returns Promise<FetchActiveBingoGoalsResponse>
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 theplayer
, uuid of theprofile
)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
Fetch bazaar items
Returns Promise<FetchBazaarResponse>
publicfetchBingoData
Fetch bingo data of a player
Parameters
playerUuid: string
The uuid of the player
Returns Promise<FetchBingoDataResponse>
publicfetchCollections
Fetch information regarding collections in the SkyBlock game
Returns Promise<FetchCollectionsResponse>
publicfetchElectionAndMayor
Fetch information regarding the current mayor and ongoing election in SkyBlock
Returns Promise<FetchElectionAndMayorResponse>
publicfetchFireSales
Fetch the currently active or upcoming Fire Sales for SkyBlock
Returns Promise<FetchFireSalesResponseFireSale[]>
publicfetchItems
Fetch information regarding items in the SkyBlock game
Returns Promise<FetchItemsResponse>
publicfetchNews
Fetch SkyBlock news
Returns Promise<{ items: FetchNewsResponseItem[] }>
publicfetchPlayerSkyBlockProfiles
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
Fetch recently ended auctions (auctions which ended in the last 60 seconds).
Returns Promise<RecentlyEndedAuctionsResponse>
publicfetchSkills
Fetch information regarding skills in the SkyBlock game
Returns Promise<FetchSkillsResponse>
Skyblock related endpoints
https://api.hypixel.net/#tag/SkyBlock