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.
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
Web Scraper Cloud API documentation can be found on webscraper.io
- added
downloadScrapingJobXLSX()
method - added
bool $raw
parameter to scraping job download functions
- added getSitemapScheduler($sitemapId) method
- added enableSitemapScheduler($sitemapId, $schedulerConfig) method
- added disableSitemapScheduler($sitemapId) method
- added getScrapingJobDataQuality($scrapingJobId) method
- Drop support for "End of life" PHP versions 5.6, 7.0, 7.2. Minimum required version is PHP 7.3
- 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.
- getScrapingJobs() and getSitemaps() now return iterators
- getScrapingJobs($sitemapId) can filter by sitemap