manifest / integrations / as24-sync
AS24 Sync
High-performance AutoScout24 synchronization with step-by-step import process, mandatory API validation, and optimized image processing. WP code standards compliant.
by H M Shahadul Islam · github.com/shahadul878/as24-sync · website
★ 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/shahadul878/as24-sync/archive/refs/heads/master.zipAS24 Sync 2.0
High-performance AutoScout24 synchronization plugin for WordPress with step-by-step import process, mandatory API validation, and optimized image processing.
Features
Step-by-Step Import Process
- API Connection Validation (Mandatory) - Validates credentials and endpoint before any import
- Total Count - Fetches and displays total listings available
- ID Collection - Collects ALL listing IDs upfront before processing
- Sequential Processing - Processes listings one by one with progress saving
- Image Queue - Images queued for background cron processing
Key Benefits
- Smooth Processing - No timeouts, handles large datasets
- Error Recovery - Resume from last position if interrupted
- Progress Tracking - Real-time progress updates via AJAX
- Image Optimization - Images processed via cron, non-blocking
- WP Code Standards - Fully compliant with WordPress coding standards
Installation
- Upload the
as24-syncfolder to/wp-content/plugins/ - Activate the plugin through WordPress admin
- Go to AS24 Sync → Settings to configure
- Enter your AutoScout24 API credentials
- Click "Test Connection" to verify
- Go to AS24 Sync → Dashboard to start import
Usage
Step 1: Configure API Credentials
- Navigate to AS24 Sync → Settings
- Enter your AutoScout24 username and password
- Click "Test Connection" to verify
- Save settings
Step 2: Start Import
- Navigate to AS24 Sync → Dashboard
- Click "Start Import"
- The plugin will:
- Validate API connection
- Get total listings count
- Collect all listing IDs
- Process listings one by one
- Queue images for cron processing
Progress Tracking
- Real-time progress updates every 2 seconds
- Step-by-step status indicators
- Statistics cards showing processed/imported/updated/errors
- Progress bar with percentage
Architecture
Core Classes
AS24_API_Validator- Step 1: API validationAS24_Queue_Manager- Steps 2-3: Total count and ID collectionAS24_Listing_Processor- Step 4: Process listings one by oneAS24_Image_Queue- Image queue managementAS24_Image_Processor- Cron + async image processingAS24_Import_Orchestrator- Main coordinatorAS24_Progress_Tracker- Progress tracking
Processing Flow
- API validation (blocks if fails)
- Get total count
- Collect all IDs (stored in transient)
- Process one listing at a time (from queue)
- Queue images (processed via cron)
Requirements
- WordPress 5.8 or higher
- PHP 7.4 or higher
- AutoScout24 API credentials
- Motors theme (for listings post type)
License
GPL v2 or later
Author
H M Shahadul Islam
Email: shahadul.islam1@gmail.com
GitHub: https://github.com/shahadul878