Currently, this is how my quick-n-dirty check works:
$url = 'http://'.$region.'.battle.net/api/wow/character/'.$realm.'/'.$member['name'].'?fields= ';
$json = file_get_contents($url);
if ($json !== FALSE){
$decoded = json_decode($json);
if ($decoded !== FALSE || $decoded !== NULL){
/* Add player to Database */
return TRUE;
}
Is there a better way? I really hate pulling all that data needlessly.