PHP code example of zoon / proxymarket

1. Go to this page and download the library: Download zoon/proxymarket library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

zoon / proxymarket example snippets


$p = new \Proxymarket\Proxymarket(YOUR_TOKEN);

$list = $p->listProxy($type = 'all', $page = 1, $pageSize = 0, $sort = 0);

$result = $p->buyProxy($count, $type = 'ipv4', $duration = 30, $country = 'ru', $promocode = '', $subnet = null, $speed = null);