
內容簡介
簡單地連接WordPress至外部API的最簡單方式。
WPGetAPI 可輕鬆地從無限量的第三方 REST API 發送和接收資料,然後使用「Shortcode」或「Template Tag」格式化並顯示返回的資料在你的WordPress 網站上。
WPGetAPI 支援幾乎所有驗證方法,包括「OAuth 2.0 authorization」、「Bearer token」、「基本身分驗證 (basic auth.)」、「API 金鑰」和「用戶名稱/密碼」。
DEMO
查看實際範例,以觀察我們如何連接到幾個不同的 API,並以 3 種獨特的方式顯示資料。
主要功能
連接你的 WordPress 網站到任何 REST API
無限制 API and endpoints
無需編程
使用「Template Tag」或「Shortcode 」顯示 API 資料
GET、POST、PUT 及 DELETE 請求
查詢字串、標頭及主體參數
文件
我們有大量文件和幫助可用,查看以下文章以開始使用:
快速入門指南
分步範例
這會適用於我的 API 嗎?
擴充 WPGetAPI
PRO 外掛
「PRO 外掛」提供許多額外的功能,讓您進行更進階的 API 操作。PRO 外掛的功能包括:
權杖 (Tokens)
動態變數
快取 API 呼叫
將 JSON 資料格式轉換為 HTML
擷取巢狀資料
Base64 編碼身分驗證
XML 格式
WooCommerce 匯入
「WooCommerce 匯入」外掛允許您從 API 匯入商品並從這些商品創建 WooCommerce 產品。您可以手動匯入商品或設置自動與 API 同步。
自訂文章匯入
「Custom Post Import」外掛允許您從 API 匯入商品並從這些商品創建自訂文章。您可以手動匯入自訂文章或設置自動與 API 同步。支援將匯入為文章、頁面或任何其他自訂文章類型。
OAuth 2.0 授權
「OAuth 2.0 授權」外掛允許透過 OAuth 2.0 的方式對您的 API 進行授權。
WPGetAPI 整合
WPGetAPI 與其他 WordPress 外掛非常配合,允許您進行一些非常棒的自訂化,讓您對於其他 WordPress 外掛有更好的體驗。
外掛標籤
開發者團隊
② 後台搜尋「WPGet API – Connect to any external REST API」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Connect WordPress to external APIs, without code.
Easily send data to any API and get data from unlimited 3rd party REST APIs. Format and display the returned data on your WordPress website using a shortcode or a template tag.
WPGet API supports virtually all authentication methods including API keys, bearer tokens, basic auth, username/password and OAuth 2.0 authorization.
Live Examples
View our live examples of connecting to several different APIs and displaying the data in various unique ways including charts, graphs, tables and weather forecasts.
LIVE EXAMPLES – Connecting WordPress to external APIs
Major Features
Connect your WordPress website to any REST API
Unlimited APIs & endpoints
No coding required
Display API data using a template tag or shortcode
GET, POST, PUT, PATCH & DELETE methods
Add query string, header & body parameters
Documentation
We have tons of articles and help available.
Quick Start Guide
Step by Step Example
Frequently Asked Questions
Will this work with my API?
Extending WPGet API
PRO Plugin
The PRO Plugin provides many extra features that allow you to do some more advanced things with your APIs. Features of the PRO Plugin include:
Actions – automate your API when an action happens on your site
Tokens – grab dynamic data without code and send to your API
Dynamic variables – a PHP solution for grabbing dynamic values
Chain API calls
Cache API calls
Format API data into HTML
Retrieve nested data
Base64 encoded auth
XML format
API to Posts Plugin
The API to Posts Plugin allows you to import API data and create WooCommerce products or custom posts from this API data. Features of the API to Posts Plugin include:
Import API data
Import from unlimited endpoints
Map API data to WordPress fields
Supports custom fields, ACF, tags, categories, custom taxonomies, images and more
Supports all standard WooCommerce fields
Create WooCommerce products from API data
Sync API to WooCommerce products & posts
Set interval of sync from every minutes up to once a week
OAuth 2.0 Authorization
The OAuth 2.0 Authorization plugin allows authorization of your API through the OAuth 2.0 method.
WPGet API Integrations
WPGet API integrates extremely well with other WordPress plugins, allowing you to do some very cool things with your API. Click the links below for more info on these integrations.
WooCommerce to API
WooCommerce API Product Sync
Contact Form 7 send data to API
WPForms send data to API
Gravity Forms send data to API
Charts & Tables from API data using wpDataTables
Translating WPGet API
You can translate WPGet API into your own language on translate.wordpress.org
Here is an article to help get started with translations
