法甲联赛接口支持法甲球队赛事查询,当然他还支持 英超,西甲,德甲,意甲,法甲,中超等赛事查询。
接口名称:法甲联赛接口
接口平台:api
接口地址:http://op.juhe.cn/onebox/football/team
支持格式:json/xml
请求方式:get/post
请求示例:http://op.juhe.cn/onebox/football/team?key=APPKEY&team=%E7%9A%87%E9%A9%AC
法甲联赛接口调用JSON返回示例:
{ "reason": "查询成功", "result": { "key": "皇家马德里", "list": [ { "c1": "欧冠", "c2": "11-27", "c3": "03:45", "c4R": "0-1", "c4T1": "巴塞尔", "c4T1URL": "http://match.sports.sina.com.cn/football/team.php?id=3255", "c4T2": "皇家马德里", "c4T2URL": "http://match.sports.sina.com.cn/football/team.php?id=157", "c51": "", "c52": "视频集锦", "c52Link": "http://sports.sina.com.cn/video/g/ucl/match/1415/5/real/", "c53": "全场战报", "c53Link": "http://sports.sina.com.cn/g/ucl/2014-11-27/04347425813.shtml", "c54": "", "c54Link": "" }, { "c1": "西甲", "c2": "11-30", "c3": "03:00", "c4R": "1-2", "c4T1": "马拉加", "c4T1URL": "http://match.sports.sina.com.cn/football/team.php?id=163", "c4T2": "皇家马德里", "c4T2URL": "http://match.sports.sina.com.cn/football/team.php?id=157", "c51": "", "c52": "视频集锦", "c52Link": "http://sports.sina.com.cn/video/g/laliga/match/1415/13/real/", "c53": "全场战报", "c53Link": "http://sports.sina.com.cn/g/laliga/2014-11-30/03487429569.shtml", "c54": "", "c54Link": "" }, { "c1": "西国王杯", "c2": "12-03", "c3": "03:00", "c4R": "5-0", "c4T1": "皇家马德里", "c4T1URL": "http://match.sports.sina.com.cn/football/team.php?id=157", "c4T2": "科内利亚", "c4T2URL": "http://match.sports.sina.com.cn/football/team.php?id=79380", "c51": "", "c52": "视频集锦", "c52Link": "http://sports.sina.com.cn/video/g/CopadelRey/match/1415/1203/real/", "c53": "全场战报", "c53Link": "http://sports.sina.com.cn/g/laliga/2014-12-03/02087432835.shtml", "c54": "", "c54Link": "" }, { "c1": "西甲", "c2": "12-07", "c3": "03:00", "c4R": "VS", "c4T1": "皇家马德里", "c4T1URL": "http://match.sports.sina.com.cn/football/team.php?id=157", "c4T2": "维戈塞尔塔", "c4T2URL": "http://match.sports.sina.com.cn/football/team.php?id=165", "c51": "", "c52": "视频直播", "c52Link": "http://video.sina.com.cn/l/pl/sportstv/1691648.html", "c53": "图文直播", "c53Link": "http://match.sports.sina.com.cn/livecast/g/live.php?id=112890", "c54": "", "c54Link": "" }, { "c1": "欧冠", "c2": "12-10", "c3": "03:45", "c4R": "VS", "c4T1": "皇家马德里", "c4T1URL": "http://match.sports.sina.com.cn/football/team.php?id=157", "c4T2": "卢多戈雷茨", "c4T2URL": "http://match.sports.sina.com.cn/football/team.php?id=54138", "c51": "", "c52": "视频暂无", "c52Link": "", "c53": "图文直播", "c53Link": "http://match.sports.sina.com.cn/livecast/g/live.php?id=115037", "c54": "", "c54Link": "" }, { "c1": "西甲", "c2": "12-13", "c3": "03:45", "c4R": "VS", "c4T1": "阿尔梅里亚", "c4T1URL": "http://match.sports.sina.com.cn/football/team.php?id=4418", "c4T2": "皇家马德里", "c4T2URL": "http://match.sports.sina.com.cn/football/team.php?id=157", "c51": "", "c52": "视频暂无", "c52Link": "", "c53": "图文直播", "c53Link": "http://match.sports.sina.com.cn/livecast/g/live.php?id=112892", "c54": "", "c54Link": "" } ] }, "error_code": 0 }
法甲联赛接口调用XML返回示例:
<root> <reason>查询成功</reason> <result> <key>皇家马德里</key> <list> <item> <c1>欧冠</c1> <c2>11-27</c2> <c3>03:45</c3> <c4R>0-1</c4R> <c4T1>巴塞尔</c4T1> <c4T1URL> http://match.sports.sina.com.cn/football/team.php?id=3255 </c4T1URL> <c4T2>皇家马德里</c4T2> <c4T2URL> http://match.sports.sina.com.cn/football/team.php?id=157 </c4T2URL> <c51/> <c52>视频集锦</c52> <c52Link> http://sports.sina.com.cn/video/g/ucl/match/1415/5/real/ </c52Link> <c53>全场战报</c53> <c53Link> http://sports.sina.com.cn/g/ucl/2014-11-27/04347425813.shtml </c53Link> <c54/> <c54Link/> </item> <item> <c1>西甲</c1> <c2>11-30</c2> <c3>03:00</c3> <c4R>1-2</c4R> <c4T1>马拉加</c4T1> <c4T1URL> http://match.sports.sina.com.cn/football/team.php?id=163 </c4T1URL> <c4T2>皇家马德里</c4T2> <c4T2URL> http://match.sports.sina.com.cn/football/team.php?id=157 </c4T2URL> <c51/> <c52>视频集锦</c52> <c52Link> http://sports.sina.com.cn/video/g/laliga/match/1415/13/real/ </c52Link> <c53>全场战报</c53> <c53Link> http://sports.sina.com.cn/g/laliga/2014-11-30/03487429569.shtml </c53Link> <c54/> <c54Link/> </item> <item> <c1>西国王杯</c1> <c2>12-03</c2> <c3>03:00</c3> <c4R>5-0</c4R> <c4T1>皇家马德里</c4T1> <c4T1URL> http://match.sports.sina.com.cn/football/team.php?id=157 </c4T1URL> <c4T2>科内利亚</c4T2> <c4T2URL> http://match.sports.sina.com.cn/football/team.php?id=79380 </c4T2URL> <c51/> <c52>视频集锦</c52> <c52Link> http://sports.sina.com.cn/video/g/CopadelRey/match/1415/1203/real/ </c52Link> <c53>全场战报</c53> <c53Link> http://sports.sina.com.cn/g/laliga/2014-12-03/02087432835.shtml </c53Link> <c54/> <c54Link/> </item> <item> <c1>西甲</c1> <c2>12-07</c2> <c3>03:00</c3> <c4R>VS</c4R> <c4T1>皇家马德里</c4T1> <c4T1URL> http://match.sports.sina.com.cn/football/team.php?id=157 </c4T1URL> <c4T2>维戈塞尔塔</c4T2> <c4T2URL> http://match.sports.sina.com.cn/football/team.php?id=165 </c4T2URL> <c51/> <c52>视频直播</c52> <c52Link> http://video.sina.com.cn/l/pl/sportstv/1691648.html </c52Link> <c53>图文直播</c53> <c53Link> http://match.sports.sina.com.cn/livecast/g/live.php?id=112890 </c53Link> <c54/> <c54Link/> </item> <item> <c1>欧冠</c1> <c2>12-10</c2> <c3>03:45</c3> <c4R>VS</c4R> <c4T1>皇家马德里</c4T1> <c4T1URL> http://match.sports.sina.com.cn/football/team.php?id=157 </c4T1URL> <c4T2>卢多戈雷茨</c4T2> <c4T2URL> http://match.sports.sina.com.cn/football/team.php?id=54138 </c4T2URL> <c51/> <c52>视频暂无</c52> <c52Link/> <c53>图文直播</c53> <c53Link> http://match.sports.sina.com.cn/livecast/g/live.php?id=115037 </c53Link> <c54/> <c54Link/> </item> <item> <c1>西甲</c1> <c2>12-13</c2> <c3>03:45</c3> <c4R>VS</c4R> <c4T1>阿尔梅里亚</c4T1> <c4T1URL> http://match.sports.sina.com.cn/football/team.php?id=4418 </c4T1URL> <c4T2>皇家马德里</c4T2> <c4T2URL> http://match.sports.sina.com.cn/football/team.php?id=157 </c4T2URL> <c51/> <c52>视频暂无</c52> <c52Link/> <c53>图文直播</c53> <c53Link> http://match.sports.sina.com.cn/livecast/g/live.php?id=112892 </c53Link> <c54/> <c54Link/> </item> </list> </result> <error_code>0</error_code> </root>
来源:https://www.cnblogs.com/jiekoupt/p/5000481.html