Two ready-to-use blocks: standings and a league profile. Embed with one <iframe>
line, using real data. The examples below run directly on this page: what you see is the widget itself.
Both blocks below load from our server. Copy the line beneath a widget and replace the tournament ID to get started.
<iframe src="https://scoraline.com/widget/standings?tournament=36196"
width="100%" height="520" frameborder="0"></iframe>
Position, played, wins, draws, losses, goals and points. Team names use the original English names.
<iframe src="https://scoraline.com/widget/trends?tournament=36196"
width="100%" height="220" frameborder="0"></iframe>
Goals per match, over 2.5 goals, both teams to score and the distribution of results. The calculation window is shown in the widget header.
One URL parameter: theme=dark. The example on the right is the same working widget on a dark background.
There are no additional appearance settings for custom colours or fonts. The widget is a ready-made block in our design, available in two themes. For a fully custom appearance, request the data through the API and render it in your own layout.
<iframe src="https://scoraline.com/widget/standings?tournament=36196 &theme=dark&limit=5"
width="100%" height="240" frameborder="0"></iframe>
The complete list of supported widget parameters.
| Parameter | Values | Purpose | Widget |
|---|---|---|---|
| tournament | tournament ID | Required. Selects the tournament to display. | both |
| theme | light, dark | Appearance. Light by default. | both |
| title | 0 | Hides the header containing the tournament name and season. | both |
| limit | 1 … 50 | Number of standings rows to display. All rows by default. | standings |
| type | total, home, away, form | Overall, home, away or form standings. | standings |
Find the tournament ID in the league directory
or in the response to GET /v1/tournaments. The same ID is used in all other requests.
A widget is a page hosted on our server and embedded on yours using an iframe.
Our server requests the data. Your page contains only the widget URL, with no API key or API request.
One line of markup is all you need. The widget also works where custom JavaScript is unavailable, such as article editors and website builders.
The markup arrives fully rendered. The widget does not show a blank space while scripts load, and its content is available to search engines.
An iframe does not determine its own height: set height for the number of rows you need. The width fills the available space.
There are exactly two widgets. The following features are not available.
<script src="…loader.js"> is not supported. Use iframe.Both widgets on this page load from the production server; they display real data.
One line of markup puts real data on your page.
我们将在 1 个工作日内回复。测试访问完全免费。
We will reply to
within one business day.