SDK for sending http requests written in php
WebScrapingApi is an API that allows scraping websites while using rotating proxies to prevent bans. This SDK for PHP makes the usage of the API easier to implement in any project you have.
Run the following command in the main folder of your project:
composer require webscrapingapi/php-sdk
To use the API and the SDK you will need a API Key. You can get one by registering at WebScrapingAPI.
Using the SDK it's quite easy. An example of a GET call to the API is the following:
For more reference, you can check out multiple examples here here
For a better understanding of the parameters, please check out our documentation