直播列表
GET
{{host}}/api/public/?service=Home.getNew
接口描述
首页-直播列表
请求参数
参数名
类型
描述
必填
service
string
接口地址 Home.getNew
必填
p
int
页码 默认 1
必填
catid
int
分类导航id 默认-2(推荐)
必填
lng
string
位置信息 看看原接口怎么传的
必填
lat
string
位置信息 看看原接口怎么传的
必填
响应参数
参数名
类型
描述
必填
ret
int
示例:200
必填
code
int
示例:0
必填
msg
string
示例:
必填
uid
string
主播id 示例:230
必填
avatar
string
主播头像 示例:http://thirdqq.qlogo.cn/g?b=oidb
必填
avatar_thumb
string
主播头像示例:http://thirdqq.qlogo.cn/g?b=oidb
必填
user_nicename
string
主播名称 示例:o
必填
title
string
直播标题
必填
city
string
城市
必填
stream
string
直播流名
必填
pull
string
播流地址 示例:rtmp://pili-live-rtmp.juyy.com/jyzbyy/230_1595412485
必填
thumb
string
直播预览图 示例:http://pili-vod.juyy.com/20200722180804_b40d1184be92e1b002e44323d5192ea3?imageView2/2/w/600/h/600
必填
room_id
string
直播间房间号 示例:12
必填
nums
string
观看人数 示例:0
必填
goods_name
string
商品名 示例:巨无霸汉堡
必填
goods_price
string
商品价格 示例:0.01
必填
goods_cover
string
商品缩略图 示例:http://pili-vod.juyy.com/3a38a12cba3b76669901c3a8111718ccfile0.jpg
必填
distance
string
位置信息 示例:未知位置
必填
live_intro
string
直播简介
必填
live_type
string
直播类型 1 直播中 2 回放
必填
isboom
int
1 最后一页 0 还有下一页
可选
msg
string
示例:
必填