以更简单的方式访问apptweak io api
apptweak的Python项目详细描述
信息
允许轻松访问AppTweak IO API。
Github
https://github.com/apptweak/apptweak-api-python-library
必需
你需要一个来自 https://www.apptweak.io/
安装
pip install apptweak --user
使用
importapptweak# your apptweak-io API keyapptweak.API_KEY="XYZ"# the id of your app (ios or android)app_id="686449807"# print(device.end-point.__doc__) tells me whitch arguments and params the method needsend_point_documentation=apptweak.Ios.power.__doc__# depending on your app id (params specific to the device.end-point)params={"country":"us","start_date":"2018-10-03","end_date":"2018-10-10","device":"iphone"}# depending on your app id (if ios app_id choose the ios end-points)json_response=apptweak.Ios.power(app_id,params)
终点
所有参数
application_id="1234"# ios or android app_idsort="most_useful"# (most_useful | most_recent | most_critical | most_positive)category_id="4"# ios or android category idparams={"country":"be",# ISO Alpha-2"language":"be",# ISO Alpha-2"device":"iphone"# (iphone | ipad)"start_date":"2019-01-04",# YYYY-MM-DD"end_date":"2019-05-24",# YYYY-MM-DD"max-age":"96040",# integer in seconds >0"min_rating":"1",# integer >= 1 && <= 5"max_rating":"5",# integer >= 1 && <= 5"term":"game",# string (the term of the search)"from":"42",# integer > 0 (like an offset)"type":"free",# (free | paid | grossing)"num":"3",# integer > 0 ( number of result)"size":"40",# integer > 0 (size of the result)"keywords":["games","fun",],# list of string, max 10"applications":["1234","4567",]# list of app_ids}
使用以下端点
apptweak.Ios.title_of_end-point(options,params_dict)orapptweak.Android.title_of_end-point(options,params_dict)
啊!!某些参数、选项或端点是特定于iOS或Android的!!
元数据
- 应用程序ID
- 参数
- 国家
- 语言
- 设备(iOS!)
- 最大年龄
额定值
- 应用程序ID
- 参数
- 国家(iOS!)
- 开始日期
- 结束日期
排名
- 应用程序ID
- 参数
- 国家(iOS!)
- 设备(iOS!)
- 开始日期
- 结束日期
功率
- 应用程序ID
- 参数
- 国家
- 设备(iOS!)
- 开始日期
- 结束日期
反向链接(Android!)
- 应用程序ID
下载
- 应用程序ID
- 参数
- 国家(iOS!)
- 设备(iOS!)
- 开始日期
- 结束日期
收入(iOS!)
- 应用程序ID
- 参数
- 国家
- 设备
- 开始日期
- 结束日期
评论(iOS!)
- 应用程序ID
- 参数
- 国家
搜索
- 应用程序ID
- 参数
- 国家
- 语言
- 设备(iOS!)
- 术语
- 数值
顶部图表
- 应用程序ID
- 类别ID
- 参数
- 国家
- 语言
- 设备(iOS!)
- 键入
- 术语
热门评论
- 应用程序ID
- 排序类型
- 参数
- 国家
- 大小
过滤评论
- 应用程序ID
- 参数
- 最小值
- 最大额定值
- 开始日期
- 结束日期
- 术语
- 从
- 大小
评论统计
- 应用程序ID
- 参数
- 最小值
- 最大额定值
- 开始日期
- 结束日期
- 术语
应用程序顶部关键字
- 应用程序ID
- 参数
- 国家
- 语言
- 设备(iOS!)
关键词统计
- 应用程序ID
- 参数
- 国家
- 语言
- 关键词
- 设备(iOS!)
竞争对手关键词
- 应用程序ID
- 参数
- 国家
- 语言
- 设备(iOS!)
关键词排名竞争对手
- 应用程序ID
- 参数
- 国家
- 语言
- 开始日期
- 结束日期
- 关键词
- 应用程序
- 设备(iOS!)
分类关键词
- 应用程序ID
- 类别ID
- 参数
- 国家
- 语言
- 键入
- 设备(iOS!)
关键词趋势(iOS!)
- 应用程序ID
- 参数
- 国家
- 语言
- 设备
关键词卷历史(iOS!)
- 应用程序ID
- 参数
- 国家
- 语言
- 开始日期
- 结束日期
- 键入