Skip to main content

Crate hypixel

Crate hypixel 

Source
Expand description

Asynchronous Rust client for the Hypixel Public API, with a focus on SkyBlock.

§Example

let client = hypixel::HypixelClient::new("YOUR-API-KEY");
let bazaar = client.skyblock_bazaar().await?;
println!("{} products", bazaar.products.len());

Keyed endpoints require an API key from the Developer Dashboard; the keyless endpoints (resources/* and the SkyBlock auctions, auctions_ended, bazaar, firesales, and news endpoints) work with HypixelClient::unauthenticated.

Modules§

models
mojang
Username and UUID resolution against the Mojang API.
util
Helpers for processing data returned by the API: skill/XP leveling math, SkyBlock curves (catacombs, slayers, pets, HOTM, profile level), bazaar and auction market analysis, networth estimation with modifier valuation, and (behind the nbt feature) decoding of base64+gzip NBT item blobs.

Structs§

ClientBuilder
Builder for HypixelClient.
HypixelClient
An asynchronous client for the Hypixel Public API.
RateLimit
A snapshot of the rate-limit state reported by the API on the last response.

Enums§

Error
Errors returned by the Hypixel SDK.

Type Aliases§

Result
Convenience alias for results returned by this crate.