File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ Tiny script to crawl information of a specific application in the Google play/st
88- ` parseSearch ` : search for apps by given terms
99- ` parseSimilar ` : search for what Google Play considers apps similar to the one specified
1010- ` parseOthers ` : other apps by the same developer
11+ - ` parseTopApps ` : list top-chart apps
12+ - ` parseNewApps ` : list latest additions
1113- ` parseCategory ` : list apps from a specified category
1214- ` parseCategories ` : list available categories
1315- ` parseApplication ` : get details for a specific app
Original file line number Diff line number Diff line change @@ -233,6 +233,26 @@ public function parsePerms($packageName, $lang='en') {
233233 return ['success ' =>1 , 'grouped ' =>$ perms , 'perms ' =>array_unique ($ perms_unique )];
234234 }
235235
236+ /** Obtain list of top apps
237+ * @method public parseTopApps
238+ * @param string category name of the category to parse
239+ * @return array array of package names
240+ */
241+ public function parseTopApps () {
242+ $ link = "https://play.google.com/store/apps/top " ;
243+ return $ this ->parse ($ link );
244+ }
245+
246+ /** Obtain list of newest apps
247+ * @method public parseNewApps
248+ * @param string category name of the category to parse
249+ * @return array array of package names
250+ */
251+ public function parseNewApps () {
252+ $ link = "https://play.google.com/store/apps/new " ;
253+ return $ this ->parse ($ link );
254+ }
255+
236256 /** Parse Play Store page for a given category and return package names
237257 * use this::parseCategories to obtain a list of available categories
238258 * @method public parseCategory
You can’t perform that action at this time.
0 commit comments