Installation
npm install google-play-modscraper
Usage
Available methods:
- app: Retrieves the full detail of an application.
- list: Retrieves a list of applications from one of the collections at Google Play.
- search: Retrieves a list of apps that results of searching by the given term.
- developer: Returns the list of applications by the given developer name.
- suggest: Given a string returns up to five suggestion to complete a search query term.
- reviews: Retrieves a page of reviews for a specific application.
- similar: Returns a list of similar apps to the one specified.
- permissions: Returns the list of permissions an app has access to.
app
Retrieves the full detail of an application. Options:
appId
: the Google Play id of the application (the?id=
parameter on the url).lang
(optional, defaults to'en'
): the two letter language code in which to fetch the app page.country
(optional, defaults to'us'
): the two letter country code used to retrieve the applications. Needed when the app is available only in some countries.
Example:
var gplay = ; gplay ;
Results:
appId: 'com.dxco.pandavszombies' url: 'https://play.google.com/store/apps/details?id=com.dxco.pandavszombies&hl=en&gl=us' title: 'Panda vs Zombies' description: 'Panda, my friend, Panda is the answer. But not any Panda: Rocky the Panda!' descriptionHTML: 'Panda, my friend, Panda is the answer. But not any Panda: <b>Rocky the Panda!</b>' summary: 'Help Rocky the Panda warrior to fight zombie games and save the Panda kind.' installs: '10,000+' minInstalls: 10000 score: 45025907 scoreText: '4.5' ratings: 386 reviews: 168 histogram: '1': 14 '2': 11 '3': 26 '4': 51 '5': 284 price: 0 free: true currency: 'USD' priceText: 'Free' offersIAP: false size: '34M' androidVersion: '2.3' androidVersionText: '2.3 and up' developer: 'DxCo Games' developerId: 'DxCo+Games' developerEmail: 'dxcogames@gmail.com' developerWebsite: 'http://www.dxco-games.com/' developerAddress: undefined genre: 'Action' genreId: 'GAME_ACTION' familyGenre: undefined familyGenreId: undefined icon: 'https://lh6.ggpht.com/5mI27oolnooL__S3ns9qAf_6TsFNExMtUAwTKz6prWCxEmVkmZZZwe3lI-ZLbMawEJh3' headerImage: 'https://lh4.ggpht.com/kKfRICvVTCikV4MLqsP0kWEth2F-I1Qt4jxMdklOdE2r8AmtrE-Umn6_WH_cGExXnjk-' screenshots: 'https://lh5.ggpht.com/gD8L81t4CFKI21aOVkSnfVHioInwnt0XxMMWA-dBB2aU5bk3UfxGn8Hcq_KxcM6m430' video: 'https://www.youtube.com/embed/PFGj-W8Pe5s?ps=play&vq=large&rel=0&autohide=1&showinfo=0' videoImage: 'https://i.ytimg.com/vi/PFGj-W8Pe5s/hqdefault.jpg' contentRating: 'Mature 17+' contentRatingDescription: 'Violence, Blood and Gore' adSupported: true released: 'Feb 27, 2015' updated: 1432677999000 version: '1.4' recentChanges: '- Added a hint system<br>- Added share option in level finished' comments: 'Great!' 'PvZ' 'LOL' 'Zombie killer' 'Una pasada'