Google Play Unofficial Python API
Go to file
Matlink c6973ebd5f Fix progression slow down
Signed-off-by: Matlink <matlink@matlink.fr>
2017-10-08 14:43:53 +02:00
Documentation Added some mitmproxy logs 2017-09-07 19:44:23 +02:00
gpapi Fix progression slow down 2017-10-08 14:43:53 +02:00
.gitignore Added .gitignore 2017-10-06 09:39:28 +02:00
.travis.yml Improved python2 compatibility 2017-10-04 13:42:52 +02:00
googleplay.proto Removed useless protobuf messages 2017-09-18 15:48:01 +02:00
LICENSE.md Chanded LICENSE.txt to LICENSE.md 2017-10-08 11:09:21 +02:00
README.md Moved TODOs from README to github issue 2017-10-07 12:29:51 +02:00
setup.cfg Added file for PyPi upload 2017-10-05 22:38:35 +02:00
setup.py Prepare for v0.1.5 2017-10-08 10:35:22 +02:00
test.py test.py: fixed wrong method + added progressbar 2017-10-07 19:22:55 +02:00

Google play python API Build Status

This project contains an unofficial API for google play interactions. The code mainly comes from GooglePlayAPI project which is not maintained anymore. The code was updated with some important changes:

  • ac2dm authentication with checkin and device info upload
  • updated search and download calls
  • using headers of a Nexus 6P. Add you own device under device.properties file

Usage

Check the test.py module for a simple example.

An important note about login function:

def login(self, email=None, password=None, gsfId=None, authSubToken=None)

for first time logins, you should only provide email and password. The module will take care of initalizing the api,upload device information to the google account you supplied, and retrieving a Google Service Framework ID (which, from now on, will be the android ID of a device).

For the next logins you should save the gsfId and the authSubToken, and provide them as parameters to the login function. If you login again with email and password only, this is the equivalent of re-initalizing your android device with a google account.

API reversing

Since I started playing with a more recent version of the GooglePlay API on LineageOS 14.1 (Android 7.1) using mitmproxy, I gathered some information about new APIs. Checkout the Documentation folder for more details on single API endpoints.