Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.
/ haclt Public archive

HACLT (Hypixel API Command Line Tool) is a command line tool that allows you to interact with the Hypixel API using your API key. This tool is licensed under the MIT License and provides a simple interface for making API requests and filtering the results using the powerful jq filter.

Notifications You must be signed in to change notification settings

notwithering/haclt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HACLT (Hypixel API Command Line Tool)

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.

Getting started

Prerequisites

  • Bash, Python, or Windows Command Prompt (cmd.exe)
  • jq tool (available for download on various platforms)

Installation

  1. Clone or download the repository to your local machine.
  2. Ensure that the jq tool is installed on your system.
  3. Run the script by navigating to the directory containing the script and typing ./haclt.sh, ./haclt.py, or haclt.bat, depending on which version you want to use.

Usage

  1. 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.
  2. When prompted, enter the type of request you want to make (e.g. player, guild).
  3. When prompted, enter any additional arguments you want to include in the request, such as a specific player name or guild ID.
  4. When prompted, enter a jq filter string to filter the results. You can use the official jq documentation to learn more about how to use this powerful tool.

Examples

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.

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

HACLT (Hypixel API Command Line Tool) is a command line tool that allows you to interact with the Hypixel API using your API key. This tool is licensed under the MIT License and provides a simple interface for making API requests and filtering the results using the powerful jq filter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages