This script interacts with the Hamster Kombat API to fetch user information and perform automated actions such as tapping and staying online continuously.
- PHP 7.x or higher
- cURL enabled in PHP
-
Clone the repository or download the script:
git clone https://github.com/ademchaoua/HamsterKombat.git cd HamsterKombat
-
Run the script:
php Hamster.php
-
Enter your user token when prompted.
-
Choose an action:
1
for Auto tap2
to stay online 24/73
for both
- Constructor: Initializes the class with a user token.
- getInfo(): Fetches user information from the Hamster Kombat API.
- tap(): Performs a tap action on the Hamster Kombat API.
- Prompts the user for a token and initializes the Hamster class.
- Fetches user information and displays it.
- Allows the user to choose an action (auto tap, stay online 24/7, or both) and performs the chosen action.
- Ensure your user token is valid.
- Keep the terminal open to maintain continuous actions.
This project is licensed under the MIT License.
This updated script includes comments for better understanding and more professional text outputs. The `README.md` file provides detailed instructions on how to use the script.