Giter Site home page Giter Site logo

googleplay_api's Introduction

Google Play Unofficial Python 3 API Library

Based on the original googleplay-api project by Emilien Girault: https://github.com/egirault/googleplay-api

An unofficial Python API that let you search, browse and download Android apps from Google Play (formerly Android Market).

Disclaimer

This is not an official API. I am not afiliated with Google in any way, and am not responsible of any damage that could be done with it. Use it at your own risk.

Dependencies

You can install the required dependencies with pip (a requirements.txt file is provided for this purpose).

Requirements

You must create a config.ini file before using the provided scripts (you can copy config.example.ini and modify the required fields). First, you need to provide your phone's androidID:

# Google Service Framework ID (GSF ID)
android_id = 1234567890ABCDEF

To get your androidID, use *#*#8255#*#* on your phone to start Gtalk Monitor. The hex string listed after aid is your androidID.

In order to authenticate to Google Play, you also need to provide either your Google login and password, or a valid Google Play Store token.

Features

  • Get package details (description, permissions, price...)
  • Search for apps
  • List apps in (sub)categories
  • List apps similar to another app
  • List categories and subcategories
  • List reviews for a certain app
  • Download apks
  • Automatically throttle requests frequency to avoid server errors (Too Many Requests)
  • Results paging

Usage Examples

>>> googleplay_api.googleplay import GooglePlayAPI
>>> play_store = GooglePlayAPI(throttle=True)
>>> play_store.login()
>>> play_store.details("com.android.chrome")
or
>>> play_store.search("calculator app", maxResults=100)
or
>>> play_store.list("GAME_ARCADE", "apps_topselling_free")
or
>>> play_store.listSimilar("com.android.chrome")
or
>>> play_store.bulkDetails(["com.android.chrome", "org.mozilla.firefo"])
or
>>> play_store.getPages(play_store.search("calculator app"))
or
>>> play_store.browse("GAME_ARCADE")
or
>>> play_store.reviews("com.android.chrome")
or
>>> play_store.download("com.android.chrome", 307112552)

Check docstrings for more information.

License

This project is released under the BSD license.

googleplay_api's People

Contributors

alessandrodd avatar egirault avatar fuzion24 avatar kanzure avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.