API第二版文档

API第二版文档


获取游戏视频地址

<p><strong>请求方法名:</strong></p> <ul> <li>GetGameVideoList </li> </ul> <p><strong>请求参数样例:</strong> </p> <pre><code>{ "GameId":"26" }</code></pre> <p><strong>请求方式:</strong></p> <ul> <li>GET/POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">字段</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">必选</th> <th>注释</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">GameId</td> <td style="text-align: left;">int</td> <td style="text-align: left;">是</td> <td>游戏ID</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "Status": true, "Info": "请求成功", "Data": { "VideoInfo": { "GameId": 26, "VideoUrl": "rtmp://rtmpkjhk.hychuan.com/kaijiang/6he", "WapVideoUrl": "http://kaiqiu.hychuan.com/live/5qiu/playlist.m3u8" }, "GameTag":"VR" }, "Code": 0 }</code></pre> <p><strong>VideoInfo 返回参数说明:</strong></p> <table> <thead> <tr> <th style="text-align: left;">字段</th> <th>注释</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">GameId</td> <td>游戏ID</td> </tr> <tr> <td style="text-align: left;">VideoUrl</td> <td>视频地址</td> </tr> <tr> <td style="text-align: left;">WapVideoUrl</td> <td>WAP视频地址</td> </tr> </tbody> </table>

页面列表

ITEM_HTML