A Telegram Bot that let you download .apk from Google Play
This project uses a custom and updated version of the Google Play Unofficial Python API.
You must edit config.py
before running the bot.
You need to provide:
- a valid Telegram Bot authentication token
- your phone's
androidID
- your Google Play Store login and password, or a valid subAuthToken
To get your androidID
, use *#*#8255#*#*
on your phone to start Gtalk Monitor. The hex string listed after aid
is your androidID
.
When the configuration is complete you can install the dependencies with:
$ pip install protobuf requests telepot
And run the bot with:
$ python bot.py
With the bot running you can send him a text with the package name (i.e. org.telegram.messenger) and it will respond with the requested .apk file.
I only tested with free apps, but I guess it should work as well with non-free as soon as you have enough money on your Google account.
This project is licensed under the terms of the MIT license.