足球赛事查询接口调用文档

足球赛事查询接口,目前支持 英超,西甲,德甲,意甲,法甲,中超等赛事

接口名称:足球赛事查询接口

接口平台:api

接口地址:http://op.juhe.cn/onebox/football/combat

支持格式:json/xml

请求方式:get/post

请求示例:http://op.juhe.cn/onebox/football/combat?key=APPKEY&hteam=%E7%9A%87%E9%A9%AC&vteam=%E9%98%BF%E5%B0%94%E6%A2%85%E9%87%8C%E4%BA%9A

足球赛事查询接口调用JSON返回示例:

{
"reason": "查询成功",
"result": {
"key": "皇家马德里阿尔梅里亚",
"list": [
{
"date": "12-13周六",
"link1content": "视频暂无",
"link1url": "",
"link2content": "图文直播",
"link2url": "http://match.sports.sina.com.cn/livecast/g/live.php?id=112892",
"link3content": "",
"link3url": "",
"live": "",
"score": "VS",
"team1": "阿尔梅里亚",
"team1icon": "http://www.sinaimg.cn/ty/2013/0813/U5244P6DT20130813113821.png",
"team1url": "http://match.sports.sina.com.cn/football/team.php?id=4418",
"team2": "皇家马德里",
"team2icon": "http://www.sinaimg.cn/ty/2013/0510/U5244P6DT20130510172217.jpg",
"team2url": "http://match.sports.sina.com.cn/football/team.php?id=157",
"time": "03:45"
},
{
"date": "04-29周三",
"link1content": "视频暂无",
"link1url": "",
"link2content": "图文直播",
"link2url": "http://match.sports.sina.com.cn/livecast/g/live.php?id=113090",
"link3content": "",
"link3url": "",
"live": "",
"score": "VS",
"team1": "皇家马德里",
"team1icon": "http://www.sinaimg.cn/ty/2013/0510/U5244P6DT20130510172217.jpg",
"team1url": "http://match.sports.sina.com.cn/football/team.php?id=157",
"team2": "阿尔梅里亚",
"team2icon": "http://www.sinaimg.cn/ty/2013/0813/U5244P6DT20130813113821.png",
"team2url": "http://match.sports.sina.com.cn/football/team.php?id=4418",
"time": "23:00"
}
]
},
"error_code": 0
}

足球赛事查询接口调用XML返回示例:

<root>
<reason>查询成功</reason>
<result>
<key>皇家马德里阿尔梅里亚</key>
<list>
<item>
<date>12-13周六</date>
<link1content>视频暂无</link1content>
<link1url/>
<link2content>图文直播</link2content>
<link2url>
http://match.sports.sina.com.cn/livecast/g/live.php?id=112892
</link2url>
<link3content/>
<link3url/>
<live/>
<score>VS</score>
<team1>阿尔梅里亚</team1>
<team1icon>
http://www.sinaimg.cn/ty/2013/0813/U5244P6DT20130813113821.png
</team1icon>
<team1url>
http://match.sports.sina.com.cn/football/team.php?id=4418
</team1url>
<team2>皇家马德里</team2>
<team2icon>
http://www.sinaimg.cn/ty/2013/0510/U5244P6DT20130510172217.jpg
</team2icon>
<team2url>
http://match.sports.sina.com.cn/football/team.php?id=157
</team2url>
<time>03:45</time>
</item>
<item>
<date>04-29周三</date>
<link1content>视频暂无</link1content>
<link1url/>
<link2content>图文直播</link2content>
<link2url>
http://match.sports.sina.com.cn/livecast/g/live.php?id=113090
</link2url>
<link3content/>
<link3url/>
<live/>
<score>VS</score>
<team1>皇家马德里</team1>
<team1icon>
http://www.sinaimg.cn/ty/2013/0510/U5244P6DT20130510172217.jpg
</team1icon>
<team1url>
http://match.sports.sina.com.cn/football/team.php?id=157
</team1url>
<team2>阿尔梅里亚</team2>
<team2icon>
http://www.sinaimg.cn/ty/2013/0813/U5244P6DT20130813113821.png
</team2icon>
<team2url>
http://match.sports.sina.com.cn/football/team.php?id=4418
</team2url>
<time>23:00</time>
</item>
</list>
</result>
<error_code>0</error_code>
</root>


转载于:https://my.oschina.net/u/2473269/blog/536328

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值