HamsterPy is created for auto-farming coins in Hamster Kombat (Telegram game)
Project description
HamsterPy
HamsterPy is created for auto-farming coins in Hamster Kombat (Telegram game)
Instruction
Add your user data
- Login to Telegram Web from your browser on PC
- Launch Hamster (you will receive an error asking you to log in from your phone)
- Open Inspect Element -> go to the Application tab -> open session storage -> open sessions "https://hamsterkombat.io" -> click on the element "__telegram__initParams" -> copy the value "tgWebAppData"
the result looks like "user=%7B%22id%22%3A17599916624%2C%22first_name%22%3A%22KIRBY%22%2C%22last_name%22%3A%22%22%2C%22username%22%3A%22KIRBYYY% 22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&chat_instance=906196156151&chat_type=private&start_param=kentId99999999999&auth_date=1665666&hash=3b6c05a 3733d4cdd0ece767477848e90d176141d5916f12ba0e8a65e07b8"
- copy the result and paste it into the user.txt file
Start coding
from hamsterpy import HamsterClient
client = HamsterClient()
client.auth()
client.autofarm(taps=True, print_info=True)
TODO
Soon it is planned to add auto-pumping of items
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hamsterpy-0.0.2.tar.gz
.
File metadata
- Download URL: hamsterpy-0.0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c236b1204c37d4a4846f21e31db63f0ac873c4c685b60aefdf60713886e3e44 |
|
MD5 | 513f3fca4314ba58f01ffdddf3bfbe72 |
|
BLAKE2b-256 | b908eb9ea90232d7f4897005c01bf80d0c799d9b3eb04c2a87de01570751a492 |
File details
Details for the file hamsterpy-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: hamsterpy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcca53a0c7ec1327f1557351f97309f9d25287a21216a07539168b156a999ecc |
|
MD5 | 2ce8317f937f07035bd5b637d94ed7f8 |
|
BLAKE2b-256 | dc311a97da52b88c42fe0b5c2a9ff816c313961cc53f1f6a3056df516a51b253 |