获取 App 注册用户数据

更新时间:2023-07-28 06:26:01下载pdf

本文介绍获取 App 注册用户数据的 API。

接口描述

获取 App 下指定时间范围内注册用户数据,返回当日注册用户数、累计注册用户数、注册日期、注册地区或国家等信息。

接口地址

GET: /v1.0/iot-datacenter/app/user/register/stat

请求参数

参数名类型参数位置是否必填说明
paramsStringquerytrueJSON

params 说明

参数名类型参数位置是否必填说明
bizTypeString false用户域
startDayString true开始时间
endDayString true结束时间
countryString false国家
dimensionString false维度

dimension 说明

参数名类型参数位置是否必填说明
country_nameString false国家

返回参数

参数名类型说明
resultJSONArray返回数据

result 说明

参数名类型说明
todayRegisterNumInteger当日注册用户数
totalRegisterNumInteger累计注册用户数
dtInteger日期
countryNameString国家

请求示例

GET: /v1.0/iot-datacenter/app/user/register/stat?params={"startDay":"20210810" ,"endDay":"20210820","dimension":"country_name","country": "中国"}

返回示例

{
    "result": [
        {
            "totalRegisterNum": 601,
            "dt": 20210813,
            "countryName": "中国",
            "todayRegisterNum": 0
        },
        {
            "totalRegisterNum": 601,
            "dt": 20210814,
            "countryName": "中国",
            "todayRegisterNum": 0
        },
        {
            "totalRegisterNum": 601,
            "dt": 20210815,
            "countryName": "中国",
            "todayRegisterNum": 0
        },
        {
            "totalRegisterNum": 611,
            "dt": 20210816,
            "countryName": "中国",
            "todayRegisterNum": 10
        },
        {
            "totalRegisterNum": 616,
            "dt": 20210817,
            "countryName": "中国",
            "todayRegisterNum": 5
        },
        {
            "totalRegisterNum": 616,
            "dt": 20210818,
            "countryName": "中国",
            "todayRegisterNum": 0
        },
        {
            "totalRegisterNum": 621,
            "dt": 20210819,
            "countryName": "中国",
            "todayRegisterNum": 5
        },
        {
            "totalRegisterNum": 621,
            "dt": 20210820,
            "countryName": "中国",
            "todayRegisterNum": 0
        }
    ],
    "t": 1630117333494,
    "success": true
}

错误码

参考 错误码