文档
测试

获取版权比赛直播地址

GET
https://open.sportnanoapi.com/api/sports/stream/urls_free

请求参数

参数名
类型
描述
必填
user
string
用户名
必填
secret
string
用户密钥
必填

响应参数

参数名
类型
描述
必填
code
必填
data
必填

说明 / 示例

{ "type": "object", "properties": { "code": {"type": "integer"}, "data": { "type": "array", "items": { "type": "object", "description": "直播地址", "properties": { "sport_id": {"type": "integer", "description": "类型,1-足球、2-篮球"}, "match_id": {"type": "integer", "description": "比赛id"}, "match_time": {"type": "integer", "description": "比赛时间"}, "comp": {"type": "string", "description": "赛事"}, "home": {"type": "string", "description": "主队"}, "away": {"type": "string", "description": "客队"}, "mobile_link": {"type": "string", "description": "wap直播地址,没有为空"}, "pc_link": {"type": "string", "description": "web直播地址,没有为空"} } } } } }