#wrapper #public-api #minecraft #api-key #api-bindings

hypixel

Rust wrapper for the Hypixel public API

1 unstable release

0.1.0 Jun 30, 2022

#1066 in Asynchronous

MIT license

49KB
884 lines

hypixel

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.

Features

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.

Installation

Add this to your Cargo.toml:

[dependencies]
hypixel = "0.1.0"

Dependencies

~7–19MB
~260K SLoC