google-play-scraperGoogle Play 應(yīng)用信息獲取
google-play-scraper 是 Node.js scraper,從 Google Play 獲取基本應(yīng)用數(shù)據(jù)。
安裝:
npm install google-play-scraper
獲取 app(appid,lang)的示例:
var gplay = require('google-play-scrapper');
gplay.app('com.dxco.pandavszombies')
.then(function(app){ console.log('Retrieved application: ' + app.title);
})
.catch(function(e){ console.log('There was an error fetching the application!');
});
結(jié)果:
{
appId: 'com.dxco.pandavszombies',
title: 'Panda vs Zombie: Elvis rage',
url: 'https://play.google.com/store/apps/details?id=com.dxco.pandavszombies&hl=en',
icon: 'https://lh6.ggpht.com/5mI27oolnooL__S3ns9qAf_6TsFNExMtUAwTKz6prWCxEmVkmZZZwe3lI-ZLbMawEJh3=w300',
minInstalls: 10000,
maxInstalls: 50000,
score: 4.9,
reviews: 2312,
description: 'Everyone in town has gone zombie.',
descriptionHTML: 'Everyone in town has gone <b>zombie</b>.',
developer: 'DxCo Games',
genre: 'Action',
price: '0',
free: true,
video: 'https://www.youtube.com/embed/PFGj-W8Pe5s'}評(píng)論
圖片
表情
