从Google Play商店获取应用排名

时间:2014-08-20 10:46:47

标签: php android google-play

如何获取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);

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

先谢谢

1 个答案:

答案 0 :(得分:1)

非官方API

  

Play Store API是Google Play商店的非官方版本   将让你使用18从谷歌游戏商店上传应用程序   不同的功能涵盖几乎所有来自谷歌商店。

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

  

Play Store API是Google Play商店的非官方版本   将让你使用18从谷歌游戏商店上传应用程序   不同的功能涵盖几乎所有来自谷歌商店。

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

  

您可能拥有自己的Android应用商店。这些简单的课程是免费的   并帮助您从谷歌播放获取所有应用程序数据,如   名称,权限,价格,屏幕截图等。

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

  

需要查看产品的最新评论,评分和排名   每个国家/地区的Google Play商店?这里是!一个易于使用的网站   从Google Play检索当前应用详细信息的服务   商店。只需给它一个应用程序ID,

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

官方API

仅用于您拥有"。

的应用程序

https://developers.google.com/android-publisher/libraries(点击"其他语言"按钮)。

相关问题