skip to navigation
skip to content

django-googleplay-api 1.1.2

Google Play API, with configuration on Django.

Django-GooglePlay-API
=====================

.. image:: https://api.travis-ci.org/gotlium/django-googleplay-api.png?branch=master
:alt: Build Status
:target: https://travis-ci.org/gotlium/django-googleplay-api
.. image:: https://coveralls.io/repos/gotlium/django-googleplay-api/badge.png?branch=master
:target: https://coveralls.io/r/gotlium/django-googleplay-api?branch=master
.. image:: https://pypip.in/v/django-googleplay-api/badge.png
:alt: Current version on PyPi
:target: https://crate.io/packages/django-googleplay-api/
.. image:: https://pypip.in/d/django-googleplay-api/badge.png
:alt: Downloads from PyPi
:target: https://crate.io/packages/django-googleplay-api/

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.


Installation:
-------------
1. Package:

.. code-block:: bash

$ git clone https://github.com/gotlium/django-googleplay-api.git

$ cd django-googleplay-api && sudo python setup.py install

**OR**

.. code-block:: bash

$ sudo pip install django-googleplay-api

2. Add the ``djgpa`` and ``preferences`` applications to ``INSTALLED_APPS``
in your settings file (usually ``settings.py``)
3. Sync database (``./manage.py syncdb``)


Usage example:
--------------
1. Setup Google Account, DeviceID, Proxy settings on admin panel
2. Try to use it from shell (``./manage.py shell``):

.. code-block:: python

>>> 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')


Compatibility:
-------------
* Python: 2.6, 2.7
* Django: 1.3.x, 1.4.x, 1.5.x, 1.6


.. image:: https://d2weczhvl823v0.cloudfront.net/gotlium/django-googleplay-api/trend.png
:alt: Bitdeli badge
:target: https://bitdeli.com/free  
File Type Py Version Uploaded on Size
django-googleplay-api-1.1.2.tar.gz (md5, pgp) Source 2013-11-15 65KB