HACLT is a command-line tool for interacting with the Hypixel API. It allows you to query the Hypixel API for various information, such as player data or guild information, and filter the results using the powerful jq
tool.
- Bash, Python, or Windows Command Prompt (cmd.exe)
jq
tool (available for download on various platforms)
- Clone or download the repository to your local machine.
- Ensure that the
jq
tool is installed on your system. - Run the script by navigating to the directory containing the script and typing
./haclt.sh
,./haclt.py
, orhaclt.bat
, depending on which version you want to use.
- When prompted, enter your Hypixel API key. If you don't have one, you can obtain one from the Hypixel server by typing
/api
in the chat. - When prompted, enter the type of request you want to make (e.g.
player
,guild
). - When prompted, enter any additional arguments you want to include in the request, such as a specific player name or guild ID.
- When prompted, enter a
jq
filter string to filter the results. You can use the officialjq
documentation to learn more about how to use this powerful tool.
Here are some example jq
filters you can use to filter the results of your Hypixel API requests:
."player"."displayname"
: Get the player's display name.."player"."stats"."Bedwars"."wins_bedwars"
: Get the player's Bedwars wins.."guild"."name"
: Get the guild's name.."guild"."memberCount"
: Get the number of members in the guild.
If you find a bug or have a feature request, please open an issue. If you want to contribute code, feel free to open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.