WP Manifestindependent plugin directory
manifest / integrations / wordpress-api-sync-plugin

API Sync Plugin

A WordPress automation plugin that fetches external API data using cron jobs, stores responses in the database, and displays sync logs in an admin dashboard.

by Your Name · github.com/fatema025/wordpress-api-sync-plugin

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/fatema025/wordpress-api-sync-plugin/archive/refs/heads/main.zip

A custom WordPress automation plugin that fetches data from external APIs on scheduled intervals and stores the responses inside WordPress.


🚀 Overview

This plugin automates API synchronization workflows using WordPress cron jobs.

Administrators can:

  • Configure API endpoints
  • Schedule sync intervals
  • Store API responses
  • View sync logs
  • Run manual sync operations

✨ Features

✅ API Settings Management

Configure:

  • API Name
  • API Endpoint URL
  • Sync Interval

✅ Automated Cron Sync

Uses WordPress cron jobs to automatically fetch external API data on scheduled intervals.

Supported intervals:

  • Hourly
  • Daily

✅ External API Fetching

Uses:

wp_remote_get()

to fetch JSON data from external APIs.


✅ Database Storage

Stores API responses inside a custom database table for:

  • history
  • analytics
  • logs
  • reporting

✅ Admin Dashboard

Dashboard includes:

  • Sync settings
  • Manual sync button
  • Synced records table
  • Response preview
  • Delete functionality

✅ Manual Sync

Admins can instantly trigger sync without waiting for cron schedules.


🛠 Technologies Used

  • WordPress Plugin Development
  • PHP
  • AJAX
  • WordPress Cron Jobs
  • API Integrations
  • JSON Processing
  • MySQL
  • Admin Dashboard Development

📸 Screenshots

🔹 Create API

Create API


🔹 API Sync Dashboard

API Sync Dashboard


🔹 Manual Sync Action

Manual Sync


🔹 API Manual Sync Dashboard

API Manual Sync Dashboard


⚙️ Installation

  1. Upload plugin to:
wp-content/plugins/
  1. Activate plugin

  2. Navigate to:

API Sync

🚀 Example Workflow

Admin configures API
→ WordPress schedules cron job
→ Plugin fetches API data automatically
→ Response stored in database
→ Dashboard displays synced records

🔥 Real Use Cases

  • Product inventory sync
  • Weather data sync
  • CRM/ERP synchronization
  • External analytics import
  • News aggregation systems

📌 Future Improvements

  • Multiple API endpoints
  • Custom intervals
  • JSON field mapping
  • Retry failed syncs
  • API authentication support

👩‍💻 Author

Fatema P.

WordPress Plugin Developer | API Integration & Automation Developer