网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

Python怎么显示用户直播信息

这篇文章主要介绍“Python怎么显示用户直播信息”的相关知识,小编通过实际案例向大家展示操作过程,操作方法简单快捷,实用性强,希望这篇“Python怎么显示用户直播信息”文章能帮助大家解决问题。

成都创新互联10多年企业网站制作服务;为您提供网站建设,网站制作,网页设计及高端网站定制服务,企业网站制作及推广,对展览展示等多个方面拥有丰富的网站推广经验的网站建设公司。

用户直播信息Api:

请求Api

http://主机地址/douyin/user/live/info?token=xxx&uid=66598046050

请求方式

GET

参数

字段类型说明
tokenstring接口授权码
uidint用户id

返回示例

{
    "code":200,
    "data":{
        "data":{
            "adversary_authorization_info":1,
            "adversary_user_status":1,
            "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,
            "authentication_info":{
                "authentication_badge":{
                    "avg_color":"",
                    "height":0,
                    "image_type":0,
                    "is_animated":false,
                    "open_web_url":"",
                    "uri":"webcast/authentication_icon.png",
                    "url_list":[
                        "http://p6-webcast-dycdn.byteimg.com/img/webcast/authentication_icon.png~tplv-obj.image",
                        "http://p9-webcast-dycdn.byteimg.com/img/webcast/authentication_icon.png~tplv-obj.image"
                    ],
                    "width":0
                },
                "custom_verify":"央视新闻官方账号",
                "enterprise_verify_reason":"央视新闻官方抖音号"
            },
            "authorization_info":3,
            "avatar_large":{
                "avg_color":"",
                "height":0,
                "image_type":0,
                "is_animated":false,
                "open_web_url":"",
                "uri":"1080x1080/30e520009a01cad2d810e",
                "url_list":[
                    "/upload/otherpic65/247491.jpg",
                    "/upload/otherpic65/247492.jpg",
                    "/upload/otherpic65/247493.jpg"
                ],
                "width":0
            },
            "avatar_medium":{
                "avg_color":"",
                "height":0,
                "image_type":0,
                "is_animated":false,
                "open_web_url":"",
                "uri":"720x720/30e520009a01cad2d810e",
                "url_list":[
                    "/upload/otherpic65/247494.jpg",
                    "/upload/otherpic65/247496.jpg",
                    "/upload/otherpic65/247497.jpg"
                ],
                "width":0
            },
            "avatar_thumb":{
                "avg_color":"",
                "height":0,
                "image_type":0,
                "is_animated":false,
                "open_web_url":"",
                "uri":"100x100/30e520009a01cad2d810e",
                "url_list":[
                    "/upload/otherpic65/247498.jpg",
                    "/upload/otherpic65/247499.jpg",
                    "/upload/otherpic65/247500.jpg"
                ],
                "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":"cctvnews",
            "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":95769058,
                "following_count":26,
                "push_status":0
            },
            "follow_status":0,
            "gender":0,
            "hotsoon_verified":false,
            "hotsoon_verified_reason":"",
            "ichat_restrict_type":0,
            "id":66598046050,
            "id_str":"66598046050",
            "income_share_percent":0,
            "is_follower":false,
            "is_following":false,
            "level":0,
            "link_mic_stats":1,
            "media_badge_image_list":[
            ],
            "modify_time":1600091516,
            "need_profile_guide":false,
            "new_real_time_icons":[
            ],
            "nickname":"央视新闻",
            "own_room":{
                "room_ids":[
                    6872336845759090000
                ],
                "room_ids_str":[
                    "6872336845759089421"
                ]
            },
            "pay_grade":{
                "grade_banner":"",
                "grade_describe":"距离1级还差1抖币",
                "grade_icon_list":[
                ],
                "level":0,
                "name":"",
                "new_im_icon_with_level":{
                    "avg_color":"",
                    "height":0,
                    "image_type":0,
                    "is_animated":false,
                    "open_web_url":"",
                    "uri":"",
                    "url_list":[
                    ],
                    "width":0
                },
                "new_live_icon":{
                    "avg_color":"",
                    "height":0,
                    "image_type":0,
                    "is_animated":false,
                    "open_web_url":"",
                    "uri":"",
                    "url_list":[
                    ],
                    "width":0
                },
                "next_diamond":0,
                "next_name":"",
                "next_privileges":"",
                "now_diamond":0,
                "pay_diamond_bak":0,
                "score":0,
                "screen_chat_type":0,
                "this_grade_max_diamond":1,
                "this_grade_min_diamond":0,
                "total_diamond_count":0,
                "upgrade_need_consume":0
            },
            "pay_score":0,
            "pay_scores":0,
            "poi_info":{
                "is_poi_enabled":false,
                "poi_id":0,
                "poi_id_str":"",
                "poi_name":""
            },
            "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":"MS4wLjABAAAAgq8cb7cn9ByhZbmx-XQDdRTvFzmJeBBXOUO4QflP96M",
            "secret":0,
            "share_qrcode_uri":"72a4000fe1b5d865c51b",
            "short_id":653421556,
            "signature":"本宝宝暂时还没想到个性签名",
            "special_id":"",
            "status":1,
            "telephone":"",
            "ticket_count":1379873,
            "top_fans":[
            ],
            "top_vip_no":0,
            "total_recharge_diamond_count":0,
            "user_attr":{
                "is_admin":false,
                "is_muted":false,
                "is_super_admin":false
            },
            "user_role":0,
            "verified":true,
            "verified_content":"",
            "verified_mobile":false,
            "verified_reason":"",
            "with_car_management_permission":false,
            "with_commerce_permission":true,
            "with_fusion_shop_entry":true
        },
        "extra":{
            "now":1600091520634
        },
        "status_code":0
    },
    "msg":"success"
}

关于“Python怎么显示用户直播信息”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识,可以关注创新互联行业资讯频道,小编每天都会为大家更新不同的知识点。


网页名称:Python怎么显示用户直播信息
文章链接:http://bjjierui.cn/article/jjheso.html

其他资讯