php – 从Google PlayStore获取应用排名
如何获得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:
https://code.google.com/p/google-playstore-api/
https://github.com/thetutlage/Google-Play-Store-API
http://sourceforge.net/projects/googleplaystore/
https://www.mashape.com/maxcanna/google-play-store(付款) 官方API 仅用于您“拥有”的应用程序. https://developers.google.com/android-publisher/libraries(单击“其他语言”按钮). (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |