Crates.io | hypixel |
lib.rs | hypixel |
version | 0.1.0 |
source | src |
created_at | 2022-06-30 13:23:56.053022 |
updated_at | 2022-06-30 13:23:56.053022 |
description | Rust wrapper for the Hypixel public API. |
homepage | |
repository | https://github.com/Quzacks/hypixel |
max_upload_size | |
id | 616372 |
size | 50,650 |
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.
[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
:
[dependencies]
hypixel = "0.1.0"