With this package, you can configure device id and proxy params, for google play api. Also you can change google account, and link device with new or existing account. This reusable app give you capabilities to search, download and etc.
- Package:
$ git clone https://github.com/gotlium/django-googleplay-api.git
$ cd django-googleplay-api && sudo python setup.py install
OR
$ sudo pip install django-googleplay-api
- Add the
djgpa
andpreferences
applications toINSTALLED_APPS
in your settings file (usuallysettings.py
) - Sync database (
./manage.py syncdb
)
- Setup Google Account, DeviceID, Proxy settings on admin panel
- Try to use it from shell (
./manage.py shell
):
>>> from djgpa.api import GooglePlay
>>>
>>> api = GooglePlay().auth()
>>> # Search apps
>>> for row in api.search('google'):
... print row.title
>>> # App details
>>> details = api.details('com.android.chrome')
>>> print details.docV2.title, details.docV2.creator
>>> # Download app
>>> api.download('com.google.android.apps.docs', '~/Download/chrome.apk')
- Python: 2.6, 2.7
- Django: 1.3.x, 1.4.x, 1.5.x, 1.6