Linux 软件免费装
Banner图

SportStatsAPI Live Scores & League Tables

开发者 modulout
更新时间 2026年10月23日 15:44
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

football soccer live scores fixtures league table

下载

0.1.0

详情介绍:

SportStatsAPI (https://sportstatsapi.com) is a brand of Modulout LLC, the author of this plugin. Add live sports data to your site in a few clicks. Pick a widget block, type a competition, and, once your site is connected (free), the editor shows the real widget with live data. All 19 SportStatsAPI widgets, each a block (in the SportStatsAPI group of the inserter) and a shortcode. Free (with the free key from Connect): With a paid SportStatsAPI plan: match centre, match facts, match preview, head to head, box score, team form, club season, squad, injuries and suspensions, season race, top players, player card and tennis. Connect your site once (Settings → SportStatsAPI → Connect) to get the free key: the six free widgets for the free competitions (Premier League, Bundesliga, LaLiga, Serie A, Ligue 1, MLS, NBA, NHL, MLB, NFL, EuroLeague, the Champions League and more), 25,000 views a month. A paid key opens every widget, about 3,000 competitions, your accent colour and no credit link. Until the site is connected, no widget is shown: the editor shows a "Connect" notice in its place. Free and paid The plugin is free and complete: all 19 blocks and the shortcode are in it, with no code that is switched off or unlocked by payment. The widgets are drawn and their data served by the SportStatsAPI service (https://sportstatsapi.com), and the service decides what a key may show: With a free key the 13 paid blocks are marked "(paid plan)" in the inserter, show a notice in the editor, and the service answers "Widget not available" for them. You can use the plugin forever with the free key. Light, dark or automatic theme, in English, German, Spanish, Italian or French. Every widget is also a shortcode: [sportstatsapi widget="table" competition="england--premier-league" team="arsenal" theme="dark" lang="de"] Shortcode options: widget (table, scores, fixtures, ticker, next-match, calendar, match-centre, match-facts, preview, head-to-head, box-score, team-form, club-season, squad, injuries, race, top-players, player, tennis), competition (the competition key, as on sportstatsapi.com), team (a team's name slug, e.g. arsenal or manchester-city: highlights the team in the table and scores, filters fixtures, picks the team of next match, calendar and team form), theme (light, dark, auto), lang (en, de, es, it, fr), accent (#RRGGBB, paid), rows (table), size (table: compact, standard, full), view (fixtures: round, date), country (fixtures and next match: TV channels), round (scores), match (match widgets: a match code or page path), stat (top players: goals, assists, cards, rating), teams (season race: names, comma separated), player (player card, tennis), tournament (tennis), leagues (ticker: more competitions), style="one" and langs="true" (match facts), font="inherit" (your theme's font), radius (0–20, corners).

安装:

  1. Install and activate the plugin.
  2. Settings → SportStatsAPI: click Connect (or paste your widget key), and pick the default theme, accent colour and language.
  3. In the block editor, add a SportStatsAPI block (League table, Live scores, …) and choose a competition. Or put a shortcode in any post, page or widget area.

屏幕截图:

  • League table with a team highlighted, on a page.
  • Live scores and fixtures on a page.
  • Next match and results ticker.
  • Settings → SportStatsAPI with Connect.
  • All 19 widgets in the SportStatsAPI group of the block inserter.

常见问题:

Do I need an account?

A free one: Connect creates it with your email address and brings the free key back (25,000 views a month; you agree that free widgets show a small "Data by SportStatsAPI" link). Without a key, widgets are not shown. A paid key opens every competition and widget.

What is free and what needs a paid plan?

Free, with the free key from Connect: league table, live scores, fixtures, results ticker, next match and team calendar, for the free competitions (25,000 views a month, up to 30,000 before they stop until the next month). Every other widget, every other competition, the accent colour and removing the credit link need a paid SportStatsAPI plan (https://sportstatsapi.com/pricing/). The plugin is the same in both cases: the service decides what a key shows.

Does the plugin send data anywhere?

Only to SportStatsAPI, the service that draws the widgets. See "External services" above for what is sent and when. The plugin sets no cookies and does no tracking.

Where do I find competition keys and team names?

The blocks have a search. For shortcodes, use the widget builder on https://sportstatsapi.com/widgets/builder/ : its embed code shows the competition key. A team is its name in lower case with hyphens (manchester-city).

Does it slow down my site?

The widget script loads once, asynchronously, only on pages with a widget, and widgets load their data when they scroll into view.

更新日志:

0.1.0