Version: 2.0
Coded By: ItsHesamHoseini - LinuxTV_ir
This project includes a bot for interacting with the Hamster Kombat game API, providing various functionalities including automatic clicking, user information retrieval, task list retrieval, and card optimization using the Hamster
class.
- Automatic Clicking: To bypass the 3-hour limit and increase card profits.
- User Information Retrieval: Retrieving user information from the API.
- Task List: Retrieving and displaying task lists.
- Card Optimization: Finding the best cards for more profit.
- Daily Coins Retrieval: Retrieving daily coins from the API.
- PHP 8.0.0 or higher: This script requires PHP version 8.0.0 or higher.
- cURL: This script uses the cURL library for sending HTTP requests.
-
Clone the repository:
git clone https://github.com/itsHesamHoseini/HamsterKombatBot.git cd HamsterKombatBot
-
Make sure PHP 8.0.0 or higher is installed:
php -v
-
Put your token in the
$token
variable in theexample.php
file.
You can execute the script directly from the command line:
php example.php YOUR_TOKEN
You can request the script via the web:
https://YOUR_DOMAIN/hamster/example.php?token=YOUR_TOKEN
POST https://YOUR_DOMAIN/hamster/example.php
Payload: {'token': 'YOUR_TOKEN'}
- Parameters:
$token
(string): Authentication token for accessing the API.
Retrieves user information from the API.
Automatic clicking to increase profits.
- Parameters:
$rand
(int): Number of random clicks (default: 0).$param
(string): Additional parameter for the request.
Retrieves task list from the API.
Finds the best cards for more profit.
- Parameters:
$upgraded
(bool): Whether cards should be upgraded or not.
Retrieves daily coins from the API.
Upgrades cards using the task ID.
- Parameters:
$task_id
(string): Task ID for upgrade.
Retrieves available cards for purchase from the API.
Automatically runs clicks and displays profits.
We're always looking to improve the project! If you have any ideas or want to contribute to improving the code, please submit a pull request or open an issue.
This project is licensed under the MIT License.
You can contact us through the following links:
Enjoy and maximize your gaming experience!