gpt4 book ai didi

php - 从 Google PlayStore 获取应用排名

转载 作者:太空宇宙 更新时间:2023-11-03 10:45:03 24 4
gpt4 key购买 nike

如何获取应用在 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 (单击“其他语言”按钮)。

关于php - 从 Google PlayStore 获取应用排名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25402754/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com