Tiny script to crawl information of a specific application in the Google play/store base on PHP.
parse: mostly used internally – but can be used to parse any URL or text for valid Play Store app links and return their packageNamesparseSearch: search for apps by given termsparseSimilar: search for what Google Play considers apps similar to the one specifiedparseOthers: other apps by the same developerparseTopApps: list top-chart appsparseNewApps: list latest additionsparseCategory: list apps from a specified categoryparseCategories: list available categoriesparseApplication: get details for a specific appparsePerms: retrieve permissions requested by a specific appparsePrivacy: obtain an app's privacy details (data collected/shared etc)setDebug: turn debug mode on or offgetDebug: check whether debug mode is turned on or offdump_raw: dump the raw data (HTML of the page plus JSON of the data sources) for debug/evaluation
<?php require "google-play.php"; $google = new GooglePlay(); $app=$google->parseApplication("com.bezapps.flowdiademo"); print_r($app); $app=$google->parseSimilar("com.bezapps.flowdiademo"); print_r($app); $apps=$google->parseSearch("telegram"); print_r($apps); $apps=$google->parseCategory("TOOLS"); print_r($apps); ?>
Examples of how to use the code and what results to expect can be found in the wiki:
- the Search page shows how to
- list available categories as well as obtain a list of apps from a given category
- search for "similar apps"
- search for apps by keywords
- action as a crawler and find more applications?
- the AppDetails page shows how to
- obtain details about a given app
- interprete the result set (aka the "application structure")
- obtain content in specific languages
- the Permissions page details
- how to get the permissions an app requests
- what the result set looks like and how to interprete it
- Unit test
- Izzy
- Max Base
My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)
A team includes some programmer, developer, designer, researcher(s) especially Max Base.