/android-market-api-php

PHP implementation of the java Android Market API

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

Android Marketplace API (PHP)

Seeking contributors, I have not been maintaining this repository for quite sometime. Open for helpers and merge requests.

Overview

This is a PHP implementation of the Java Android Market API. Used to connect to the Android Marketplace (Google Play Store) using PHP. This is an un-official API as an official API currently does not exist.


Connection Settings & Connection Issues

How to edit the local.php file for Google Account and Device ID, please read the following points below.

Google Account

We have seen numerous blocks from Google this is where you get a return for a 403/400 error. The best way to deal with this is to sleep between requests. Where we have seen library working on localhost then on a server not connecting is due to Google showing captcha.

Captcha

Please enable two-factor authentication for your Google Account (or use an other Google Account) then create an application password. Use the application password in the local.php file for connecting to Google. If your still getting blocks please use the captcha overide by using the following url logged in on the same Google Account on your Desktop Google Unlock Captcha

Android Device ID

The android device ID can easily be found using thrid-party applications like Device ID - Google Play Store


Examples Provided

  • Category Search
  • Pulling App Detailed Data (Screenshot)
  • Normal Search (Keyword)
  • Top Apps Search

For examples please read the examples avalible on the wiki

Issues & Bug's

For Issues please use the Github Issues Page.

Alternativley you can also talk to other developers on the Google Groups Page


Credits & Licence

Credits

JAVA Android Marketplace API

Protoc Gen PHP

Licence

GNU GPL v2.0