Google Play App Store API 采集谷歌安卓应用商城app的数据接口 - 2024最新

bameofme / 2024-04-24 / 原文

iDataRiver平台 https://www.idatariver.com/zh-cn/ 提供开箱即用的谷歌安卓应用商城google play app store数据采集API,供用户按需调用。

接口使用详情请参考Google Play App Store接口文档

接口列表

1. 获取指定app的基础信息

参数 类型 是否必填 默认值 示例值 描述
apikey string idr_*** 从控制台里复制apikey
app_id string com.instagram.android app唯一id,可从搜索接口中获取
country string us us 国家code
lang string en en 语言

python代码使用requests库请求示例

import requests

# 构建请求URL
# Build request URL
url = "https://apiok.us/api/de67/app/info/v1"

# 将apikey替换为自己的
# Replace apikey with yours
params = {
	'apikey': 'idr_***',
	'country': 'us',
	'item_id': 'com.instagram.android'
}

response = requests.get(url, params=params, timeout=60)
data = response.json()

# 打印返回结果
# print response
print(f"Your response is: {data}")

google play app应用详情接口返回数据样例
google play app应用详情接口返回数据样例

2. 获取指定app下的评论列表

参数 类型 是否必填 默认值 示例值 描述
apikey string idr_*** 从控制台里复制apikey
app_id string com.instagram.android app id
country string us 国家code
lang string en en 语言
sort_type string relevant relevant sort type, one of (relevant, newest, rating)
score string 按评论过滤,可选值为(null, 1, 2, 3, 4, 5)
device_type string mobile mobile filter by device, one of (mobile, tablet, watch, chromebook, tv, car)

google play app store应用评论列表接口
google play app store应用评论列表接口

3. 搜索指定国家app store的app

参数 类型 是否必填 默认值 示例值 描述
apikey string idr_*** 从控制台里复制apikey
query string Instagram 搜索关键词
country string us 国家code
lang string en en 语言

更多接口支持定制,持续维护中...

总结

通过谷歌安卓应用市场Google Play App Store接口可以方便的获取已发布的app的公开信息,包括app综合评分,用户评论,应用权限等,能快速获取市场的反馈从而提升运营效率。