Skip to main content

Google Play API, with configuration on Django.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-googleplay-api-1.1.2.tar.gz (67.3 kB) Copy SHA256 hash SHA256 Source None Nov 15, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page