Skip to main content

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

  1. Login to Telegram Web from your browser on PC
  2. Launch Hamster (you will receive an error asking you to log in from your phone)
  3. 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"

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hamsterpy-0.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

hamsterpy-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file hamsterpy-0.0.1.tar.gz.

File metadata

  • Download URL: hamsterpy-0.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.13

File hashes

Hashes for hamsterpy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c0599c51a3c1def64dceacbbb0c964df39774307a259353f87e5e2f3d209a917
MD5 47fc076741fb187a5195682b949c4e64
BLAKE2b-256 8017d14c5cbb3c7c3f9eb335042db5ffc0874de3407964c455509af54e281918

See more details on using hashes here.

File details

Details for the file hamsterpy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: hamsterpy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.13

File hashes

Hashes for hamsterpy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27e249636f70b4c0ced6659b2e19c237c39f9e02164acffa3973aecd7dfa5c51
MD5 3496c557ed71d68a150ddec55fb5c6e7
BLAKE2b-256 0830437fd3223553c9fe179d2535249c21c64a1be3e44bd19727548591b62a01

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page