码迷,mamicode.com
首页 > Windows程序 > 详细

抖音直播监控Api:在线观众

时间:2020-11-07 17:12:39      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:extra   gem   nload   请求   const   tran   title   pre   Once   

TiToData:专业的短视频数据采集、处理平台。

更多信息请联系: TiToData
海量数据采集
每天为客户采集5亿条数据
覆盖主流平台:TikTok,Zynn,YouTube,抖音,快手,1688,小红书,拼多多,淘宝,美团,饿了么,淘宝,微博

请求Api

http://主机地址/douyin/liveroom/audience?token=xxx&room_id=6843198199583378191

请求方式

GET

参数

字段 类型 说明
token string 接口授权码
room_id int 直播间id

返回示例


{
    "code": 200,
    "data": {
        "data": {
            "currency": "音浪",
            "has_more": false,
            "has_once_live": true,
            "music_wave": "音浪",
            "ranks": [
                {
                    "delta": 0,
                    "first_gift": false,
                    "gap_description": "99",
                    "rank": 1,
                    "score": 99,
                    "user": {
                        "adversary_authorization_info": 0,
                        "adversary_user_status": 0,
                        "allow_be_located": false,
                        "allow_find_by_contacts": false,
                        "allow_others_download_video": false,
                        "allow_others_download_when_sharing_video": false,
                        "allow_share_show_profile": false,
                        "allow_show_in_gossip": false,
                        "allow_show_my_action": false,
                        "allow_strange_comment": false,
                        "allow_unfollower_comment": false,
                        "allow_use_linkmic": false,
                        "authorization_info": 3,
                        "avatar_thumb": {
                            "avg_color": "",
                            "height": 0,
                            "image_type": 0,
                            "is_animated": false,
                            "open_web_url": "",
                            "uri": "100x100/316e3000c72bee4420e2d",
                            "url_list": [
                                "https://p3-dy-ipv6.byteimg.com/aweme/100x100/316e3000c72bee4420e2d.jpeg?from=4010531038",
                                "https://p6-dy-ipv6.byteimg.com/aweme/100x100/316e3000c72bee4420e2d.jpeg?from=4010531038",
                                "https://p26-dy.byteimg.com/aweme/100x100/316e3000c72bee4420e2d.jpeg?from=4010531038"
                            ],
                            "width": 0
                        },
                        "badge_image_list": [],
                        "bg_img_url": "",
                        "birthday": 0,
                        "birthday_description": "",
                        "birthday_valid": false,
                        "block_status": 0,
                        "city": "",
                        "comment_restrict": 0,
                        "commerce_webcast_config_ids": [],
                        "constellation": "",
                        "create_time": 0,
                        "disable_ichat": 0,
                        "display_id": "385190430",
                        "enable_ichat_img": 0,
                        "exp": 0,
                        "experience": 0,
                        "fan_ticket_count": 0,
                        "fans_club": {
                            "data": {
                                "anchor_id": 0,
                                "available_gift_ids": [],
                                "badge": {
                                    "icons": {
                                        "0": {
                                            "avg_color": "",
                                            "height": 0,
                                            "image_type": 0,
                                            "is_animated": false,
                                            "open_web_url": "",
                                            "uri": "",
                                            "url_list": [],
                                            "width": 0
                                        }
                                    },
                                    "title": ""
                                },
                                "club_name": "",
                                "level": 0,
                                "user_fans_club_status": 0
                            },
                            "prefer_data": {}
                        },
                        "fold_stranger_chat": false,
                        "follow_info": {
                            "follow_status": 0,
                            "follower_count": 0,
                            "following_count": 0,
                            "push_status": 0
                        },
                        "follow_status": 0,
                        "gender": 0,
                        "hotsoon_verified": false,
                        "hotsoon_verified_reason": "",
                        "ichat_restrict_type": 0,
                        "id": 66287019758,
                        "id_str": "66287019758",
                        "income_share_percent": 0,
                        "is_follower": false,
                        "is_following": false,
                        "level": 0,
                        "link_mic_stats": 0,
                        "media_badge_image_list": [],
                        "modify_time": 0,
                        "need_profile_guide": false,
                        "new_real_time_icons": [],
                        "nickname": "吉森",
                        "pay_grade": {
                            "grade_banner": "",
                            "grade_describe": "距离17级还差3抖币",
                            "grade_icon_list": [],
                            "level": 16,
                            "name": "",
                            "new_im_icon_with_level": {
                                "avg_color": "",
                                "height": 16,
                                "image_type": 1,
                                "is_animated": false,
                                "open_web_url": "",
                                "uri": "webcast/aweme_honor_level_icon_new_16.png",
                                "url_list": [
                                    "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image",
                                    "http://p9-webcast-dycdn.byteimg.com/img/webcast/aweme_honor_level_icon_new_16.png~tplv-obj.image"
                                ],
                                "width": 32
                            },
                            "new_live_icon": {
                                "avg_color": "",
                                "height": 12,
                                "image_type": 1,
                                "is_animated": false,
                                "open_web_url": "",
                                "uri": "webcast/aweme_pay_grade_2x_15_19.png",
                                "url_list": [
                                    "http://p6-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image",
                                    "http://p1-webcast-dycdn.byteimg.com/img/webcast/aweme_pay_grade_2x_15_19.png~tplv-obj.image"
                                ],
                                "width": 12
                            },
                            "next_diamond": 0,
                            "next_name": "",
                            "next_privileges": "",
                            "now_diamond": 0,
                            "pay_diamond_bak": 0,
                            "score": 1697,
                            "screen_chat_type": 0,
                            "this_grade_max_diamond": 1700,
                            "this_grade_min_diamond": 1300,
                            "total_diamond_count": 1697,
                            "upgrade_need_consume": 0
                        },
                        "pay_score": 0,
                        "pay_scores": 0,
                        "push_comment_status": false,
                        "push_digg": false,
                        "push_follow": false,
                        "push_friend_action": false,
                        "push_ichat": false,
                        "push_status": false,
                        "push_video_post": false,
                        "push_video_recommend": false,
                        "real_time_icons": [],
                        "sec_uid": "MS4wLjABAAAABkK4jcEax0iVyUVnrSH3Q63wM6vRb_OlpK0Zd9DbcwE",
                        "secret": 0,
                        "share_qrcode_uri": "",
                        "short_id": 385190430,
                        "signature": "",
                        "special_id": "",
                        "status": 0,
                        "telephone": "",
                        "ticket_count": 0,
                        "top_fans": [],
                        "top_vip_no": 0,
                        "total_recharge_diamond_count": 0,
                        "user_role": 0,
                        "verified": false,
                        "verified_content": "",
                        "verified_mobile": false,
                        "verified_reason": "",
                        "with_car_management_permission": false,
                        "with_commerce_permission": false,
                        "with_fusion_shop_entry": false
                    }
                },
            ],
            "rules_url": "sslocal://webcast_webview?url=https%3A%2F%2Faweme.snssdk.com%2Fmagic%2Fpage%2Fejs%2F5f27c6ca9950ec0307de9248%3FappType%3Ddouyin%26pull_down_indicator_color%3Ddark%26pull_down_indicator_not_show%3D0%26web_bg_color%3D%2523ffffffff&pull_down_close=0&pull_down_indicator_not_show=1&pull_down_indicator_color=dark&type=popup&gravity=bottom&height=450&radius=8&hide_more=0&hide_nav_bar=0&hide_status_bar=0&landscape_custom_width=1&rate_height=450",
            "seats": [],
            "self_info": {
                "delta": 0,
                "first_gift": false,
                "gap_description": "本场贡献:0音浪",
                "rank": 0,
                "score": 0
            },
            "total": 0
        },
        "extra": {
            "now": 1600957337628
        },
        "status_code": 0
    },
    "msg": "success"
}

抖音直播监控Api:在线观众

标签:extra   gem   nload   请求   const   tran   title   pre   Once   

原文地址:https://www.cnblogs.com/angerpeanut/p/13939789.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!