Path:/openapi/v1/{app_id}/user_analysis/files/<query_id>
Method: GET
Content-type: application/json
无
Response:
注意:
当query_id对应的query_type为cohort时,response为:
[分群名称]:{分群名} [编辑者]:{编辑人名} [分群用户数]:{分群数量} 用户ID,stat_standard_id,device_id,web_id {},{},{},{} {},{},{},{} {},{},{},{}
当query_id对应的query_type为analysis时,response为:
用户ID,stat_standard_id,device_id,web_id {},{},{},{} {},{},{},{} {},{},{},{}
bc
为创建的 RangersClient, 其初始化请参考使用说明, 各语言的 SDK 都提供了类似的接口
调用(Python)::
res = bc.data_finder('/openapi/v1/12345/user_analysis/files/za9fa417b308a1c8e01') for content in res.iter_lines(): print(content.decode("utf-8"))
返回结果:
用户ID,stat_standard_id,device_id,web_id 7039603993451071012,ce4f5339-b261-4567-ac87-b9e560ce5f71,0,7039603993451071012 256065,5c188cbd-9066-4c3f-817b-3656ed2d32eb,0,6981656913172432419 270159,619619ce-788e-4058-acf4-82063ca81374,0,7040148471437133327 ... ... ... 204677,aa67d722-6af4-41f1-9b0c-e478553a0d4e,0,6981289846937978399 243118,58e53ded-b220-4978-99ac-ee7137210b23,0,6970956560466134558