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.

Source Distribution

django-googleplay-api-1.1.2.tar.gz (67.3 kB view details)

Uploaded Source

File details

Details for the file django-googleplay-api-1.1.2.tar.gz.

File metadata

File hashes

Hashes for django-googleplay-api-1.1.2.tar.gz
Algorithm Hash digest
SHA256 2650fe34b832bea8b7d5585104c83bd7039914dc5d52d3081be0d5b82419ce9f
MD5 3a94a1ab863daebfb63766334f191c06
BLAKE2b-256 9fe91a687218e5f389298835f1c5002872583137fa7587645560684d9d208a2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page