接口说明:获取用户城市分布
限制说明:允许两秒请求一次,否则返回:操作频繁,请稍后重试
https://open.rabbitpre.com/api/fibo/data/getProfileWithType
参数 | 必选 | 类型 | 说明 |
pfId | true | string | pfId ,兔展获得 |
appIds | false | list | 作品Id集合, 最多10个 |
channelIds | false | list | 渠道Id集合, 最多10个 |
dataType | true | list | 数据类型获取 cityRate:城市分布 (该接口支持多个类型同时获取,具体详情请查看各自数据说明) |
换行和缩进只是为了更好的展示:
https://open.rabbitpre.com/api/fibo/data/getProfileWithType
参数 | 类型 | 说明 |
cityRate | list | 城市分布集合 |
city | string | 城市名称 |
rate | double | 占比小数,百分比 , 保留4位小数 |
count | long | 数量 |
{
"code":"200",
"errorCode":"SUCCESS",
"msg":"ok",
"data":{
"cityRate":[
{
"city":"北京",
"rate":0.0616,
"count":145614051
},
{
"city":"深圳",
"rate":0.0395,
"count":93258034
},
{
"city":"上海",
"rate":0.0279,
"count":65896772
},
{
"city":"广州",
"rate":0.0278,
"count":65692866
}
]
}
}