Edited by Peratryn 03/27/2013 09:00 PM
Zhue
1 decade ago
1 decade ago
<?php
$htmlScrap = file_get_contents('http://us.battle.net/api/wow/character/aerie-peak/Zhue?fields=stats');
echo htmlScrap;
?>
Results:
Warning: file_get_contents(http://us.battle.net/api/wow/character/aerie-peak/Zhue?fields=stats): failed to open stream: Connection timed out in ********/wowapi.php on line 2 NULL
Yeah, if you are getting timeouts than the issue is not anything to do with our API code. Either you're being blocked by our server admins (VERY unlikely, for all of the sites I've checked about this I've NEVER seen it be an issue), or your ISP or their ISP is blocking the calls for some reason. Often dev work can trigger their (horrible) filters.