Skip to content

ademchaoua/HamsterKombat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Hamster Kombat API Script

This script interacts with the Hamster Kombat API to fetch user information and perform automated actions such as tapping and staying online continuously.

Prerequisites

  • PHP 7.x or higher
  • cURL enabled in PHP

Usage

  1. Clone the repository or download the script:

    git clone https://github.com/ademchaoua/HamsterKombat.git
    cd HamsterKombat
    
  2. Run the script:

    php Hamster.php
  3. Enter your user token when prompted.

  4. Choose an action:

    • 1 for Auto tap
    • 2 to stay online 24/7
    • 3 for both

Script Functionality

Class: Hamster

  • 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.

Main Script

  • 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.

Notes

  • Ensure your user token is valid.
  • Keep the terminal open to maintain continuous actions.

License

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages