Google Play Unofficial Python API
Go to file
2017-10-22 17:25:58 +02:00
Documentation Refactored Documentation folder 2017-10-09 17:28:03 +02:00
gpapi Throw right kind of error when token expired 2017-10-22 17:25:58 +02:00
.gitignore Download optional expansion files (obb files) 2017-10-17 11:41:39 +02:00
.travis.yml Added env vars in travis-ci script 2017-10-17 18:21:33 +02:00
googleplay.proto Removed useless protobuf messages 2017-09-18 15:48:01 +02:00
LICENSE.md Typo in LICENSE.md 2017-10-09 16:34:06 +02:00
obb_download_test.py Remove email and password from test files 2017-10-17 17:58:24 +02:00
README.md Refactored Documentation folder 2017-10-09 17:28:03 +02:00
setup.cfg Added file for PyPi upload 2017-10-05 22:38:35 +02:00
setup.py Prepare for v0.2.4 2017-10-18 11:33:48 +02:00
test.py Trying to address python2 build error 2017-10-18 00:18:29 +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.

Documentation

For some documentation about the google play API check out the relative folder.