After hours and hours of searching I finally found an api script for gamercards. Only problem is this freaking thing updates every 30 mins. If I open a new browser and go to the url I get the most recent updated info. Is there a way to trick this thing to think each refresh is a new browser session?
http://xboxapi.duncanmackenzie.net/gamertag.ashx?GamerTag=gamerholics
here's the script.
<?php
$ch = curl_init("http://xboxapi.duncanmackenzie.net/gamertag.ashx?GamerTag=gamerholics");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 4);
$data = curl_exec($ch);
curl_close($ch);
$xml = new SimpleXmlElement($data, LIBXML_NOCDATA);
foreach ($xml->PresenceInfo as $mystatus)
{
print '<div id="xboxlivestatus"><a href="' . $xml->ProfileUrl . '">' . $xml->Gamertag . '</a> is ' . $mystatus->StatusText . ' : ' . $mystatus->Info . ' : ' . $mystatus->Info2. '</div>';
}
?>