[WordPress] 外掛分享: Match Results for snooker.org API

首頁外掛目錄 › Match Results for snooker.org API
WordPress 外掛 Match Results for snooker.org API 的封面圖片
全新外掛
安裝啟用
尚無評分
198 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.5 上架:2025-09-01

內容簡介

繁體中文總結:
「Match Results for snooker.org API」外掛從 Snooker.org API 中取得台球比賽數據並進行緩存以提升效能。使用者需提供 Header Value(X-Requested-By)才能連接外部 API,以展示先前、當前和即將來臨的比賽,同時使用 AJAX 加載使頁面切換更流暢,同時透過緩存暫存數據來減少 API 請求。

問題與答案:
1. 這個外掛從哪裡取得比賽數據?
- 這個外掛從 Snooker.org API 中取得台球比賽數據。

2. 使用者何時才能連接至外部 API?
- 使用者需在提供 Header Value(X-Requested-By)後才能連接至外部 API。

3. 這個外掛如何展示比賽資訊?
- 它使用標籤來顯示先前、當前和即將來臨的比賽,並透過 AJAX 加載以提供流暢的使用者體驗。

4. 外掛如何幫助網站提升效能?
- 透過緩存暫存數據,減少 API 請求次數來加速網站載入速度。

5. 使用這個外掛會涉及哪些隱私問題?
- 使用者提供 Header Value(X-Requested-By)後,外掛才能連接至 Snooker.org 的外部 API,並不會收集、儲存或傳送任何個人資料。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Match Results for snooker.org API」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Match Results for snooker.org API fetches snooker match data from the Snooker.org API and caches it to improve performance.
This plugin does not connect to the external API until the user explicitly provides their Header Value (X-Requested-By), which is obtained by contacting the Snooker.org webmaster.
It displays previous, current, and upcoming matches using tabs with AJAX loading for a smooth user experience.
The plugin reduces API calls and speeds up your site by caching data temporarily.
Privacy
This plugin connects to the external API at Snooker.org only after the user provides the required Header Value (X-Requested-By). No personal data is collected, stored, or sent by this plugin.
Features

Fetch match data from Snooker.org API.
Show Previous, Current, and Upcoming matches.
Smooth AJAX-powered tab switching.
Lightweight caching system to minimize API calls.
Easy-to-use shortcode: [match_results_for_snooker_org_api].
Cron-based caching for efficient performance.
Admin settings page for entering API Header Value.

Notes

Cached data expires every 10 minutes for recent matches and every week for long-term data.
AJAX is used for smooth tab switching without reloading the page.
Ensure your server can execute WP-Cron events for scheduled updates.

Support
For bug reports or feature requests, please open an issue on GitHub: https://github.com/novakurosevic/match-results-for-snooker-org-api/issues
Author
Novak Urošević
GitHub | LinkedIn
Important:
To use this plugin, you must request an API Header Value (X-Requested-By) by emailing [email protected].
Once received, enter this value in the plugin settings.
License
This plugin is licensed under the GPLv2 or later. See LICENSE.md for details.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon