Resolver

API Documentation

														
header("Content-Type: application/json");
$url = "https://api.playstationresolver.xyz";
$ch = curl_init();
$array = array(
	"ACTION"=>"GAMERTAG_TO_IP",
	"GAMERTAG"=>"TEST",
	"API_KEY"=>"RESOLVER-TEST-TEST-TEST-TEST-TEST",
	"JSON"=>"TRUE",
);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_URL, $url."?".http_build_query($array));
curl_setopt($ch, CURLOPT_TIMEOUT, 80);
$response = curl_exec($ch);
if(curl_error($ch))
	echo 'Request Error:' . curl_error($ch);
else
	echo $response;
curl_close($ch);
														
													
														
header("Content-Type: application/json");
$url = "https://api.playstationresolver.xyz";
$ch = curl_init();
$array = array(
	"ACTION"=>"IP_TO_GAMERTAG",
	"IP_ADDRESS"=>"1.1.1.1",
	"API_KEY"=>"RESOLVER-TEST-TEST-TEST-TEST-TEST",
	"JSON"=>"TRUE",
);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_URL, $url."?".http_build_query($array));
curl_setopt($ch, CURLOPT_TIMEOUT, 80);
$response = curl_exec($ch);
if(curl_error($ch))
	echo 'Request Error:' . curl_error($ch);
else
	echo $response;
curl_close($ch);
														
													
Brought To You By Evolutions Modding Team