Example: http://www.diabloprogress.com/hero/celanian-1548/HsuMing/21706367');
}
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $diabloProgressUrl);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
$httpCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
$contents = curl_exec($curl);
curl_close($curl);
$character = DPClassFactory::createClassObject($contents);
if($character === FALSE) {
die('Bad class. Either your class could not be detected or we do not support your class at this time.');
}
?>
Hall Score: hallScore(), 2); ?>
DPS Score: DPSScore(), 2); ?>
EHP Score: EHPScore(), 2); ?>
Sustain Score: sustainScore(), 2); ?>
Move Score: moveScore(), 2); ?>
Paragon Score: paragonScore(), 2); ?>
Misc Score: miscScore(), 2); ?>