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
pip install hamsterpy
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
Metadata
Release files for hamsterpy 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hamsterpy-0.0.3.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hamsterpy-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / hamsterpy-0.0.3.tar.gz
| Download URL | hamsterpy-0.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f512add4acaae9416c1b5ec77d59e4c13cd5d7de0a4ef6af04f5363f856b8fd
|
|
BLAKE2b-256 checksum How to use checksums |
878df1be4ad1c5c63d5baa182f8171de4c7722d22074d93da65f9231759933a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.0
|
Release files / hamsterpy-0.0.3-py3-none-any.whl
| Download URL | hamsterpy-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7275e1f91c1b3be74df89aadeed4361fd81e9e323562d1d22e7c2b06d6f005b4
|
|
BLAKE2b-256 checksum How to use checksums |
af269185de617ae6ff9723e5fd9277751a41c001007ef79a92cb9c7f75730c97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.0
|
Security for hamsterpy 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.