google-play-scraper 介绍
google-play-scraper 是 Node.js scraper,从 Google Play 获取基本应用数据。
安装:
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!'); });
结果:
{ 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'}
google-play-scraper 官网
https://github.com/facundoolano/google-play-scraper
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。