加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php – 从Google PlayStore获取应用排名

发布时间:2020-12-13 22:53:28 所属栏目:PHP教程 来源:网络整理
导读:如何获得Google Play商店( https://play.google.com/store/apps/collection/topselling_free)中应用的应用排名? 有没有我可以在iTunes中使用的API,我可以用json格式获得结果,然后我可以解析并显示它? 浏览了一个可以显示应用排名的网站http://www.appannie
如何获得Google Play商店( https://play.google.com/store/apps/collection/topselling_free)中应用的应用排名?

有没有我可以在iTunes中使用的API,我可以用json格式获得结果,然后我可以解析并显示它?

浏览了一个可以显示应用排名的网站http://www.appannie.com/.知道如何做到这一点?

我正在编写一个php脚本来查询结果.目前使用以下代码,我可以获得单个应用程序详细信息:

$ids = 'ids=com.instagram.android';

$opts = array('http' =>
array(
    'method'  => 'POST','header'  => 'Content-type: application/x-www-form-urlencoded','content' => $ids
)
);
$context  = stream_context_create($opts);
$result = file_get_contents('https://play.google.com/store/apps/collection/topselling_free',false,$context);

$convert = explode("n",$result);
print_r($convert);

我在数组中取回结果.现在,我如何获得顶级免费/收费应用程序?

提前致谢

解决方法

非官方API:

Play Store API is an unofficial version of Google Play Store which
will let you pullup applications from google play store using18
different functions covering almost everything from google store.

https://code.google.com/p/google-playstore-api/

Play Store API is an unofficial version of Google Play Store which
will let you pullup applications from google play store using18
different functions covering almost everything from google store.

https://github.com/thetutlage/Google-Play-Store-API

you may have your own android app store.these simple classes are free
and help you to get all app data from google play such as
name,permissions,price,screenshots and etc.

http://sourceforge.net/projects/googleplaystore/

Need to see up to date reviews,ratings and rankings for products on
the Google Play Store in each country? Here it is! An easy to use web
service that retrieves current application details from Google Play
Store. Just give it an application id,that

https://www.mashape.com/maxcanna/google-play-store(付款)

官方API

仅用于您“拥有”的应用程序.

https://developers.google.com/android-publisher/libraries(单击“其他语言”按钮).

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读