JSON 赛事数据源
公共数据源每两分钟更新一次,并支持跨源请求(CORS)。
https://oleball.com/api/public/matches
https://oleball.com/api/public/matches?partner=yoursite
yoursite 将此值替换为你的网站简称。
赛事字段
- 球队和联赛名称
league,teamA,teamB添加语言参数以翻译名称。&lang=es - 赛事链接
url为每场赛事使用此网址,其中包含你的引荐标签。 - 开赛时间和比分
kickoffUtc,scoreA,scoreBstatusscheduled,live,ft
实时比分组件
将 HTML 粘贴到需要显示今日赛事的位置。每场赛事都链接到其 Oleball 页面。
组件选项
| 属性 | 说明 |
|---|---|
data-partner | 引荐名称可使用小写字母、数字或这些符号。 - _ . |
data-lang | 球队和联赛名称使用的语言。 fa, es, id, ar |
data-limit | 显示的赛事数量(1–50,默认 12)。 |
data-league | 显示名称包含指定文字的联赛。 Premier League |
data-theme | light (默认), dark, auto (跟随系统主题) |
普通链接
在页面、菜单或文章中添加 Oleball 实时比分链接。
<a href="https://oleball.com/?utm_source=yoursite&utm_medium=partner">Live football scores on Oleball</a>
也可以链接到球队或联赛页面,在其网址中添加相同的追踪参数。 全部联赛 A–Z
有问题或需要定制数据源?
联系我们
已复制
已选中
代码已选中。按 Ctrl+C 或 Command+C 复制。