Skip to content

Commit

Permalink
update documentation to prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
IzzySoft committed May 18, 2023
1 parent cd99cc6 commit eb609fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Tiny script to crawl information of a specific application in the Google play/st
- `parsePrivacy`: obtain an app's privacy details (data collected/shared etc)
- `setDebug`: turn debug mode on or off
- `getDebug`: check whether debug mode is turned on or off
- `dump_raw`: dump the raw data (HTML of the page plus JSON of the data sources) for debug/evaluation

## Using PHP GooglePlay
```php
Expand Down
8 changes: 4 additions & 4 deletions google-play.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function getApplicationPage($packageName, $lang='en_US', $loc='US') {
}

/** Dump the raw page content for debugging purposes
* @method dump_raw
* @method public dump_raw
* @param string packageName identifier for the app, e.g. 'com.example.app'
* @param optional string fileName basename of the files to write to, optionally with leading path (default: ${packageName}; extensions will be appended)
* @param optional string lang language for translations. Should be ISO 639-1 two-letter code. Default: en
Expand Down Expand Up @@ -292,7 +292,7 @@ public function parseApplication($packageName, $lang='en_US', $loc='US') {
}

/** Obtain permissions for a given app
* @method parsePerms
* @method public parsePerms
* @param string packageName identifier for the app, e.g. 'com.example.app'
* @param optional string lang language for translations. Should be ISO 639-1 two-letter code. Default: en
* @return array permission on success, details on the error otherwise
Expand Down Expand Up @@ -445,7 +445,7 @@ public function parseCategories($force=false) {
}

/** Obtain list of similar apps
* @method parseSimilar
* @method public parseSimilar
* @param string packageName package name of the app to find similars for, e.g. 'com.example.app'
* @return array array of package names
*/
Expand All @@ -459,7 +459,7 @@ public function parseSimilar($packageName) {
}

/** Obtain list of other apps by same author
* @method parseOthers
* @method public parseOthers
* @param string packageName package name of the app to find similars for, e.g. 'com.example.app'
* @return array array of package names
*/
Expand Down

0 comments on commit eb609fc

Please sign in to comment.