stren-12/apps-scraper
Composer 安装命令:
composer require stren-12/apps-scraper
包简介
to Scrap AppData from its own store This Class Used to Scrap data from app web page in the supported stores with no need to worry about different html page layout Also its have the ability to auto-detect the store from the app id without need to define it
README 文档
README
Class to Scrap AppData from its own store This Class Used to Scrap data from app web page in the supported stores with no need to worry about different html page layout Also its have the ability to auto-detect the store from the app id without need to define it
Features
- Auto detect for the store from the AppId by Regex
- Universal way to get app data with no need to worry about different html page layout
Installation
First you need to install HtmlDomParser by composer
composer require stren-12/apps-scraper
then in php code
use AppsScraper\AppsScraper; $AppsScraper = new AppsScraper('com.google.android.youtube'); echo var_dump($AppsScraper->GetAppData()) /* output: array(4) { ["image"]=> string(106) "https://lh3.googleusercontent.com/lMoItBgdPPVDJsNOVtP26EKHePkwBg-PkuY9NOrc-fumRtTFP4XhpUNk_22syN4Datc=s180" ["title"]=> string(8) "YouTube " ["rate"]=> string(3) "4.1" ["price"]=> NULL } */
Note
There is a lot of Methods in the library, it's well documented take your time looking for it
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-05