webscraperio / api-client-php
API client for webscraper.io
Installs: 61 060
Dependents: 1
Suggesters: 0
Security: 0
Stars: 10
Watchers: 3
Forks: 13
Open Issues: 0
Requires
- php: ^7.3 || ^8.0
- guzzlehttp/guzzle: ^7.0.1
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-03-28 13:30:54 UTC
README
API client for cloud.webscraper.io. The cloud based scraper is a managed scraper for the free Web Scraper Chrome extension. Visit https://cloud.webscraper.io/api to acquire API key.
Installation
Install the API client with composer.
composer require webscraperio/api-client-php
You might also need a CSV parser library. Visit http://csv.thephpleague.com/ for more information.
composer require league/csv
Usage
Web Scraper Cloud API documentation can be found on webscraper.io
Changelog
v1.5.0
- Added support for php 8.2, 8.3
- Dependency bump
v1.4.0
- added
downloadScrapingJobXLSX()
method - added
bool $raw
parameter to scraping job download functions
v1.3.0
- added getSitemapScheduler($sitemapId) method
v1.2.0
- added enableSitemapScheduler($sitemapId, $schedulerConfig) method
- added disableSitemapScheduler($sitemapId) method
- added getScrapingJobDataQuality($scrapingJobId) method
v1.1.0
- Drop support for "End of life" PHP versions 5.6, 7.0, 7.2. Minimum required version is PHP 7.3
v0.3.0
- added updateSitemap($sitemapId) method
- added backoff mechanism
- createScrapingJob($scrapingJobConfig) now has
start_urls
andcustom_id
optional fields custom_id
field is now returned in getScrapingJob($scrapingJobId),
getScrapingJobs() and createScrapingJob($scrapingJobConfig) responses.
v0.2.0
- getScrapingJobs() and getSitemaps() now return iterators
- getScrapingJobs($sitemapId) can filter by sitemap