💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
## 3.23 电竞推送日志接口 GET: ~~~ /api/v1/push/log ~~~ 接口概述:获取所有推送日志 建议频率:需要时查询 | 请求参数 | 数据类型 | 是否必填 | 描述 | | --- | --- | --- | --- | | game_id | int | 是 | 游戏ID | | channel | int | 是 | 每个推送地址下的channel字段 。(1)live推送地址的channel: live、live-event、lines、 ive-event-pro、lines-pro。(2)data推送地址的channel: league、series、match、team、player、race、result| | push_id | int | 否 | channel对应的ID | | token | string | 是 | 用户密钥 | | page| int | 否 |页数 | | per_page| int | 否 |每页数据条数。请求live,per_page限制10( 输入超过10, 返回数据以10条为准);请求其余的channel,per_page限制100 | 请求url示例 ~~~ /api/v1/push/log?channel=live&sport_id=1&push_id=173899&page=1&per_page=10 ~~~ ~~~ 数据格式示例 { "code": 0, "data": { "list": [ { "game_id": 4, //游戏id "channel": "match", //推送的channel "push_type": "update", //数据推送状态 "data": { "bo": 3, "end_time": 0, "game_id": 4, "has_push": 1, "has_rate": -1, "id": 189647, "is_pro": -1, "live_urls": [ { "id": 21375, "is_deleted": false, "language": "en_GB", "url": "xxxxx", "url2": "xxxxx", "url_type": "m3u8", "weight": 1 } ], "menu": 3, "series": { "abbr": "1XPLORE 拉丁美洲", "end_time": 1682870399, "icon": "xxxxx.png", "id": 25756, "logo": "xxxxx.png", "name": "1XPLORE 拉丁美洲", "name_en": "1xplore broad 1", "start_time": 1680537600, "status": "live" }, "start_time": 1681082580, "status": "past", "teams": [ { "index": 1, "score": 1, "team_id": 26538, "team_info": { "abbr": "", "icon": "xxxxx.png", "id": 26538, "logo": xxxxx.png", "name": "Qhali", "name_en": "Healthy" }, "win_rate": 0 }, { "index": 2, "score": 2, "team_id": 28540, "team_info": { "abbr": "Alliance.LATAM", "icon": "xxxxx.png", "id": 28540, "logo": "xxxxx.png", "name": "Alliance.LATAM", "name_en": "Alliance.LATAM" }, "win_rate": 0 } ], "update_time": 1681093325, "win_team": 28540 }, "created_at": 1681093325, //推送时间(时间戳) "created_at_str": "2023-04-10 10:22:05" //推送时间(格式时间) } ~~~ | 返回参数 | 数据类型 | 描述 | 备注 | | --- | --- | --- | --- | | channel | int | 每个推送地址下的channel字段 | | | game_id | int |游戏ID | | | push_id | int | channel对应的ID | | | data | string | 推送数据 | | | total | string | 记录总数 | | | created_at | string | 推送时间(时间戳)| | | created_at_str | string | 推送时间 (格式时间)| |