2017 © Pedro Peláez
 

library android-market-api-php

PHP implementation of the Java Android Market API

image

splitfeed/android-market-api-php

PHP implementation of the Java Android Market API

  • Tuesday, December 5, 2017
  • by koconder
  • Repository
  • 28 Watchers
  • 231 Stars
  • 126 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 81 Forks
  • 22 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Android Market API (PHP)

DOI, (*1)

Un-official PHP client for the (legacy) Android Market / Google Play Store — first released in 2012 and still used for archival research, market-data collection, and automation pipelines., (*2)


Table of Contents

  1. Overview
  2. Connection Settings & Troubleshooting
  3. Examples
  4. How to Cite
  5. Issues & Support
  6. Credits
  7. License

Overview

This library exposes most of the original Android Market RPCs (login, app details, search, downloads) to PHP. Google has never released an official Play Store API, so this code relies on reverse-engineered protobuf calls that still work for many use cases., (*3)


Connection Settings & Troubleshooting

Configure examples/local.php with:, (*4)

Setting Notes
Google Account (USERNAME, PASSWORD) Use an App Password from a Google account with 2-step verification to reduce CAPTCHA blocks.
Android Device ID Retrieve via the free app https://play.google.com/store/apps/details?id=com.evozi.deviceid.
Rate-Limiting The Play backend will 403/400 if you spam requests. Insert sleep() between calls.
CAPTCHA Unlock Log in to the same account in a browser and visit https://accounts.google.com/DisplayUnlockCaptcha.

Examples

See code for examples, (*5)


How to Cite

If this software was helpful in your research, please cite version v1:, (*6)

```bibtex @software{Koc_2025_android_market_api_php, author = {Vincent Koc}, title = {{Android Market API (PHP)}}, version = {v1}, year = {2025}, doi = {10.5281/zenodo.14769247}, url = {https://doi.org/10.5281/zenodo.14769247} }, (*7)

The Versions

05/12 2017

dev-master

9999999-dev

PHP implementation of the Java Android Market API

  Sources   Download

GNU GPL v2.0

by Onder Vincent Koc
by Niklas Nilsson