[WordPress] 外掛分享: Dynamic API Integration

首頁外掛目錄 › Dynamic API Integration
全新外掛
安裝啟用
尚無評分
419 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.0 上架:2025-01-23

內容簡介

總結:Dynamic API Integration 是一個用於 Gutenberg 區塊編輯器的外掛程式,可動態整合外部 API,支援 GET 和 POST 請求方法,並提供 REST API 端點進行安全通訊。

問題與答案:
1. 這個外掛的名稱是什麼?
- 答:Dynamic API Integration。
2. 誰是這個外掛的作者?
- 答:作者是 Karishma Shukla。
3. 這個外掛的主要功能有哪些?
- 答:它可以動態從外部 API 擷取資料,並在自訂的 Gutenberg 區塊中顯示 API 資料,以及從 WordPress 管理設定中設定 API URL、請求類型和參數。
4. 如何設定 API 的設定?
- 答:在 WordPress 管理面板中,前往「設定 > API Integration」,然後配置 API URL、請求類型以及參數。
5. 這個外掛的授權是什麼?
- 答:這個外掛的授權是 GPL-2.0-or-later。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Dynamic API Integration」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Plugin Information
Plugin Name: Dynamic API Integration
Description: A plugin for dynamic API integration in the Gutenberg block editor.
Version: 1.0.0
Author: Karishma Shukla
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Features

Dynamically fetch data from external APIs.
Display API data within a custom Gutenberg block.
Configure API URL, request type, and parameters from the WordPress admin settings.
Supports both GET and POST request methods.
REST API endpoint for secure communication.

Usage
Configure API Settings

Navigate to Settings > API Integration in the WordPress admin panel.
Configure the following options:

API URL: Enter the external API endpoint.
Request Type: Select GET or POST.
Parameters: Provide JSON-formatted parameters (e.g., { "key": "value" }).

Save the settings.

Add the Gutenberg Block

Open the WordPress block editor (Gutenberg).
Search for the Dynamic API Integration block.
Add the block to your post or page.
Preview or publish the post to view the fetched API data.

REST API Endpoint
This plugin exposes a custom REST API endpoint:

Endpoint: /wp-json/dai/v1/fetch-data
Request Type: Configurable via the admin settings.
Parameters: Configurable via the admin settings.

License
This plugin is licensed under the GPLv2 or later.
Support
For support, please contact the plugin developer or raise an issue in the plugin repository.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon