从Google Play商店获取应用程序排名

4
我该如何获取Google Play商店(https://play.google.com/store/apps/collection/topselling_free)中应用的App排名?
是否有API可供使用,类似于iTunes中可以获取结果的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个回答

1

非官方API:

Play Store API是Google Play Store的非官方版本,它将让您使用18种不同的功能从Google Play Store中获取应用程序,几乎涵盖了来自Google Store的所有内容。

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

Play Store API是Google Play Store的非官方版本,它将让您使用18种不同的功能从Google Play Store中获取应用程序,几乎涵盖了Google Store的所有内容。

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

你可能有自己的Android应用商店。这些简单的类是免费的,可以帮助您从Google Play获取所有应用程序数据,例如名称、权限、价格、屏幕截图等。

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

需要在每个国家的 Google Play 商店中查看最新的产品评论、评分和排名吗?这里有一个易于使用的网络服务,可以从 Google Play 商店检索当前应用程序详细信息。只需提供应用程序 ID 即可。https://www.mashape.com/maxcanna/google-play-store(付费)。官方 API 仅适用于您“拥有”的应用程序。https://developers.google.com/android-publisher/libraries(点击“其他语言”按钮)。

我尝试了你给的前三个链接,但是它只返回空值。不确定,可能已经过时了。你尝试过我上面发布的另一种方法吗?从中获取排名是否可行? - aandroidtest

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接