vasilevit / proxy6-api
Proxy service API library
0.1.7
2018-05-06 18:39 UTC
Requires
README
Library for working with proxy service
- proxy6.net
Version
Current version 0.1.7
Install via composer
composer require vasilevit/proxy6-api
Usage
$api = new \ProxyAPI\Proxy\Proxy6(); $api->setApiKey('api_key');
Examples
$proxies = $api->getProxy(\ProxyAPI\Proxy\ProxyState::ACTIVE); $response = $api->buy(1, 7, "ru"); $bought_proxy = $response->list[0]; $api->prolong(14, [1, 4, 5]); $response = $api->check($_POST['proxy']); if ($response->proxy_status) { //active proxy }