Rust wrapper for the Hypixel public API. Covers most of the public Hypixel endpoints.
All methods to receive data are asynchronous. The wrapper provides a different handlers to contact different sections of the Hypixel API. Data that requires an API key is wrapped in a handler::Client
struct.
Creating an instance of a handler::Client
can be done with the Client::login(&str)
method. Read the documentation for more information.
By default all features are enabled.
toml
[dependencies]
hypixel = { version = "0.1.0", features = ["feature-name"] }
players
, resources
, skyblock
and others
features enables the player_data
, resources
, skyblock
and others
handlers respectively.
Add this to your Cargo.toml
:
toml
[dependencies]
hypixel = "0.1.0"