API: get_group_info

get_group_info

Discription:
Get information about a group of IP addresses(proxies).

Parameter Type Description Required
action string get_group_info required
hash string Your API hash required
userid int Your customer ID required
group_name string Name of the group (proxy login) for which information is requested required
Example Request (CURL)
$postfields = array(
		"userid"=>$userid,
		"hash"=>$hash,
		"action"=>"get_group_info",
		"group_name"=>"proxylogin1",
		);
$result = connect_api_proxy007com($postfields);

function connect_api_proxy007com($postfields)
{
	$url = "https://proxy007.com/proxy/api/index.php";
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $url);
	curl_setopt($ch, CURLOPT_POST, 1);
	curl_setopt($ch, CURLOPT_TIMEOUT, 900);
	curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
	curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields);
	$data = curl_exec($ch);
	curl_close($ch);
	return $data;
}

					
Answer:

{"code":"2001","status":"successful",
"ips_in_group":{"proxylogin1":"127.0.0.1,127.0.0.2"},
"login":"proxylogin1",
"pass":"cPFjRfH435vF",
"socks5_port":30000,
"http_port":20000,
"accessips":"127.0.0.1,192.168.0.0\/23"}

"accessips" - contains IP addresses that are authenticated for password-free access